Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need Help in using Persistence API in J2SE

 
Senthil Kumar
Ranch Hand
Posts: 264
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
We all know that Persitence is no more a feature that is restricted only to the J2EE environments.A simple POJO can be turned into a Entity at a drop of the hat.

i want help from someone who have used persistence api in j2se.

Would be really thankful if you could tell me how to connect to the oracle database.i.e what are the properties need to be set in persistence.xml. Jar files that has be in the classpath.Provider implementation that i can make use.

Please aslo shed somelight on how j2ee containers connect with the database (are they make use of connection pooling).

would appreciate if you could post samples on that
[ August 21, 2007: Message edited by: Senthil Kumar SS ]
 
Fadjer One
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,


See this link : http://www.oracle.com/technology/products/ias/toplink/jpa/howto/java-se-usage.html

>> Please aslo shed somelight on how j2ee containers connect with the database : by using data source witch you declare on your JEE server.


I hope this help.
Issam Sabir.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic