ObjectDB ObjectDB

Internal Website Search

21-30 of 200 resultsRefresh
122

Closed EntityManagerFactory after upgrading glassfish 3.1.1 to 3.1.2

from a closed EntityManagerFactory at com.objectdb.o._PersistenceException.b(_PersistenceException ... a connection from a closed EntityManagerFactory at com.objectdb.o.MSG.d(MSG.java:61) at com
22

Chapter 3 - Using JPA

Explains how to store, retrieve, update and delete entity objects using JPA.
22

JPA Reference (JavaDoc)

Java/JPA API Reference (based on the JPA 3 JavaDoc)
14

Database Replication and Clustering

, the master database can be accessed ordinarily as follows: EntityManagerFactory emf = Persistence ... different URL is required in order to access the slave database: EntityManagerFactory emf = Persistence ... can also be used: EntityManagerFactory emf = Persistence.createEntityManagerFactory( "objectdb
11

Locking in JPA

> For an EntityManagerFactory - using the createEntityManagerFacotory method:   Map<String,Object ... );   EntityManagerFactory emf =       Persistence.createEntityManagerFactory("pu", properties); For an EntityManager
11

ObjectDB Object Database Features

. Connection Pooling Automatic connection pool managed by EntityManagerFactory. Configurable - minimum/maximum ... cache (per EntityManagerFactory). Database file page cache. Query program cache (for repeating
11

JPA Persistence Unit

to instantiate an EntityManagerFactory in JPA (as explained in the JPA Overview section) requires ... an EntityManagerFactory. It may also have optional sub elements: The provider element indicates
11

Setting and Tuning of JPA Queries

> For an EntityManagerFactory - using the createEntityManagerFacotory method:   Map<String,Object> properties = new HashMap();   properties.put("javax.persistence.query.timeout", 4000);   EntityManagerFactory emf
2

Step 4: Add a Servlet Class

, IOException { // Obtain a database connection: EntityManagerFactory emf = (EntityManagerFactory)getServletContext().getAttribute("emf"); EntityManager em ... performs the following operations on every http request: The EntityManagerFactory is retrieved from
2

Step 4: Add a Servlet Class

: EntityManagerFactory emf = (EntityManagerFactory)getServletContext ... : The EntityManagerFactory is retrieved from the application scope attribute, and then an EntityManager

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support