I confirmed it again: 

persistence.xml without <jar-file> entries: 
Works on TomEE, does not work on Glassfish and JBoss

persistence.xml with

Works on TomEE, does not work on Glassfish and Jboss


persistence.xml with

Works on Glassfish and Jboss, does not work on TomEE

This is a little bit annyoing, now I have to somehow use different
persitence.xml files for the different containers. 


@smithh032772 I have 

in my persistence.xml But Glassfish does not recognize Classes annotated
with @Entity if they are packaged inside a jar in the WEB-INF/lib directory
of my ".war" File.




--
View this message in context: 
http://openejb.979440.n4.nabble.com/Problem-with-Entities-in-jars-tp4663695p4663706.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to