Hibernate 2.1.4, Hibernate Extensions: 2.1.2
Oracle 9i
I am using Hibern8IDE 1.0 and everything loads and seems to run fine. I can execute HQL queries with no problems.
When I try to run queries via the createCriteria API I am getting the following error in the results box:
1 errors occurred while listing (and calling getPathNames). Parse error at line 6, column 18. Encountered: enum
The query looks like:
session.createCriteria(com.unext.user.Student.class).list()
There are enums in the Student class, and they used to use PersistentEnum but have all been changed to UserTypes.
If I just execute from Student it works fine.
Can anyone point me in the right direction as to what I am doing wrong?
I know this works to some degree, because I have a smaller project that still uses the old style enums and I can get a criteria query to work. Is this the UserType for the enum that throws it?
Thanks in advance.
Pat
|