ObjectDB ObjectDB

Internal Website Search

91-100 of 200 resultsRefresh
9

JPA Metamodel API

by the EntityManager's getMetamodel method (both methods are equivalent). For example, given an EntityManager, em, a Metamodel instance can be obtained by: Metamodel metamodel = em.getMetamodel
9

Entity Management Settings

the persistence context of the EntityManager (which serves as a first level cache). The valid values ... all its EntityManager instances. The level 2 cache is disabled by specifying 0 or 0mb. The <fetch> element
9

ObjectDB Object Database Features

connections and timeout. Caching L1 entity object cache (per EntityManager). L2 shared entity data ... query on an EntityManager/PersistenceManager. Supports automatic download of created backups from
7

JPA Queries

getCriteriaBuilder method or by the EntityManager's getCriteriaBuilder method (both methods
7

JPA Named Queries

at runtime by the same Query and TypedQuery interfaces but different EntityManager factory methods
1

Step 4: Add a Servlet Class

= (EntityManagerFactory)getServletContext().getAttribute("emf"); EntityManager em ... the application scope attribute, and then an EntityManager (representing a database connection
1

Step 6: Set the Spring XML

, controllers and transactions), to inject a JPA EntityManager, to manage transactions and to look
1

Step 6: Set the Spring XML

, controllers and transactions), to inject a JPA EntityManager, to manage transactions and to look for JSP
1

Step 3: Add a Main Class

.createEntityManagerFactory(                 "$objectdb/db/p2.odb"); EntityManager em = emf
1

Step 3: Add a Main Class

(                 "$objectdb/db/p2.odb"); EntityManager em = emf.createEntityManager

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