Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

meta-inf/persistence.xml  RSS feed

 
Richard Gray
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
quick question on packaging a war file that utilizes hibernate with JPA. How do we package a war file containing these?
Does it just go in meta-inf/persistence.xml or does it go elsewhere?

myapp.war
- meta-inf/persistence.xml
- web-inf/.....

I would like to know what is an industry accepted way, like a standard so I develop something that is acceptable.




 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!