Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JPA - What is the use of persistence.xml

 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I am new to JPA .

Please let me know what is the use of persistence.xml file ??

Thanks in advance .
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A trivial web search returns at least the following:

http://agoncal.wordpress.com/2009/07/05/jpa-2-0-standard-properties-in-persistence-xml/
http://www.redhat.com/docs/manuals/jboss/jboss-eap-4.3/doc/Server_Configuration_Guide/html/ch01s02s01.html
http://www.jpox.org/docs/jpa/persistence_xml.html\

You could try doing your own web searches, which would allow you to better tune the results.

It's almost *always* faster to do the research yourself than to wait for someone to answer you, particularly when it's something trivial like this.
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank You David .

Now i understood that persistence.xml file is for confuring resources .

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic