Get your CodeRanch badge!*
The moose likes Object Relational Mapping and the fly likes JPA - What is the use of persistence.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "JPA - What is the use of persistence.xml " Watch "JPA - What is the use of persistence.xml " New topic
Author

JPA - What is the use of persistence.xml

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Hi

I am new to JPA .

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

Thanks in advance .


Save India From Corruption - Anna Hazare.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

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

Joined: Apr 18, 2009
Posts: 2234

Thank You David .

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

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JPA - What is the use of persistence.xml
 
Similar Threads
Is EJB3.0 without annotation possible??
Is persistence.xml required
How to use the JPA in JSF
How to authenticate to the dB server, and specify the target database.
JPA EclipseLink SEQUENCE table does not exist