Your code is telling Hibernate to auto-generate both ids. 

Are you setting the id manually, after Hibernate assigns it?
anonymous wrote : [Microsoft][SQLServer 2000 Driver for 
JDBC][SQLServer]'last_insert_id' is not a recognized function name. 

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

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

Reply via email to