Hello All,
In my
java code, I create some Hibernate Query Language (HQL) and execute it as follows :
where the parameter patients is a java.util.List object of
String values.
When this code is run, I do not get any SQL exceptions, but I do get a class Cast exception as follows :
java.lang.ClassCastException
at org.hibernate.type.StringType.toString(StringType.java:44)
I am new to Spring and Hibernate, maybe my problem is something obvious to you out there with more experience?
Thanks in advance,
Kim