2 Replies Latest reply on Mar 2, 2007 2:14 AM by christian.bauer

    No more @CollectionId in Seam?

    josephhu

      Hi,
      I am porting some of my old Hibernate classes to Seam when I noticed that
      in /lib/hibernate-all.jar, org.hibernate.annotations.CollectionId is no longer present.

      Is this an oversight or are we not supposed to use @Collection in Seam?

      Thanks,
      -Joseph

        • 1. Re: No more @CollectionId in Seam?
          pmuir

          Seam just uses Hibernate Annotations for JPA - ask on the Hibernate JPA forum

          • 2. Re: No more @CollectionId in Seam?
            christian.bauer

            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).