[jboss-user] [EJB 3.0] - Re: org.hibernate.MappingException: could not instantiate id
DaveRWood
do-not-reply at jboss.com
Wed Feb 11 04:31:47 EST 2009
I had a very similar issue. I thought I'd post the cause here in case it helps anyone else when it turns up on a search.
The "does not support sequences" error went away once I'd removed the @Entity from another class that wasn't explicitly included in persistence.xml
It appears it was simply searching the classpath and picking it up.
The other class didn't have a matching DB table - which seemed to be what was causing the above, rather misleading error.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4208915#4208915
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4208915
More information about the jboss-user
mailing list