Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version: 3.2
Debug level Hibernate log excerpt:
10:53:31,528 DEBUG Ejb3Configuration:522 - Detect class: true; detect hbm: false
10:53:31,544 DEBUG JarVisitor:192 - Searching mapped entities in jar/par: file:/C:/orderEditTempBuildHibernate
I have two projects, one is the main project for my application and contains the persistence.xml (orderEdit). The second project is a library (order). The orderEdit project references the order project in the build path in Eclipse. I have hibernate.archive.autodetection set to "class".
From the debug log it looks like autodetection is searching the build directory of the main project for classes to map, but is not searching the other projects referenced in the classpath for classes to map.
Am I doing something wrong? How can I get hibernate to map all classes referenced in the classpath instead of just the classes in the main project to be mapped.
Thanks,
-Ken