1 Reply Latest reply on May 7, 2007 4:37 PM by Pete Muir

    Entities in many jars

    Pavel Kaplin Newbie


      I have a problem caused by a project modularity. I have entity beans in several jars. I want them to be stored in one database. How can I achieve this?

      Now, my entity classes packaged in JARs are not found by hibernate. This can be fixed by placing persistence.xml in each JAR, but I want all these entities to be in one database.

      Configuration: Seam 1.2 + EJB microcontainer + Hibernate 3.2 + Tomcat 5.5.20, overall application packaged as WAR.

      Pavel Kaplin