ObjectDB ObjectDB

Internal Website Search

21-30 of 200 resultsRefresh
20

Shared (L2) Entity Cache

by the EntityManagerFactory and shared by all its EntityManager objects. the broader scope ... to the EntityManager's L1 cache and the EntityManagerFactory's L2 cache, which are managed ... is wider, since they exist per database and are shared by all the EntityManagerFactory and EntityManager
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

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
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

Locking in JPA

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

Step 4: Add a Servlet Class

: EntityManagerFactory emf = (EntityManagerFactory)getServletContext ... : The EntityManagerFactory is retrieved from the application scope attribute, and then an EntityManager
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
1

Step 6: Set the Spring XML

.springframework.orm.jpa.JpaTransactionManager"> <property name="entityManagerFactory" ref="emf
1

Step 6: Set the Spring XML

.orm.jpa.JpaTransactionManager"> <property name="entityManagerFactory" ref="emf"/> </bean

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