The old Hibernate Annotations version in hibernate-all.jar does not support
@CollectionId.
You can develop and deploy against a newer Hibernate [Annotations] version, if you upgrade
the libs in JBoss AS too. The hibernate-all.jar is required for TestNG/Embedded EJB3
testing only (this old E-EJB3 version is not compatible AFAIK with a newer Hibernate EM/AN
version).
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4024551#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...