This content has been marked as final.
Show 2 replies
-
1. Re: Where to place hibernate.properties in a JAR
jaikiran Jan 12, 2012 3:07 AM (in response to kc7bfi)Do you build the entity manager yourself? Placing it at the root of the .jar should make it available in the classpath. Other than that, I don't think AS7 tries to detect any hibernate.properties for bootstrapping Hibernate. It just looks for persistence.xml (the JPA mandated file).
-
2. Re: Where to place hibernate.properties in a JAR
kc7bfi Jan 12, 2012 7:05 AM (in response to jaikiran)Thanks, I just noticed the message in the log but I guess I can just ignore the message since I can define the properties in the persistence.xml file.