I have a table with an auto-incrementing ID with a datatype of BIGINT(20). When 
SeamGen using 2.0.0.CR2 generates this entity it gives the ID a datatype of 
Long. 

When I try to persist an instance of this entity I get an 
InvalidStateException. 

If I change the entity setting the datatype of the ID to long (primitive) I 
have no problems.

Does anyone know what's up with that?

Cheers,

Damian.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098234#4098234

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098234
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to