This content has been marked as final.
Show 1 reply
-
1. Re: Variation in annotations between ejb3 and Hibernate?
charliekelly Apr 11, 2006 4:21 PM (in response to charliekelly)Sorry Folks,
I should "read the FRIENDLY manual", but I'll post the answer here so that it might help someone else.
I was previously compiling in Eclipse using older Hibernate jars (for inclusion within Eclipse osgi container).
I am currently compiling the same application with current JBoss ejb jars within JBossIDE.
The new syntax is:
@Id @GeneratedValue
Other similar changes are described in the Hibernate migration guide:
http://www.hibernate.org/371.html#A23
Charlie