About EntityManager

91-100 of 200Refresh
Tutorial
14

Step 4: Add a Servlet Class

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

Entity Management Settings

the persistence context of the EntityManager (which serves as a first level cache). The valid values are "weak ... all its EntityManager instances. The level 2 cache is disabled by specifying 0 or 0mb. The element
Manual
10

JPA Criteria API Queries

the EntityManagerFactory's getCriteriaBuilder method or by the EntityManager's getCriteriaBuilder method
JPA Doc
10

JPA Queries

getCriteriaBuilder method or by the EntityManager's getCriteriaBuilder method (both methods
Manual
10

JPA Query API

with an EntityManager (represented by em in the following code snippets), which serves as a factory
Manual
10

Online Backup

Backup The online backup can be started by executing a special query on an EntityManager (em
Result
10

Posting to ObjectDB Website - Important Instructions

");         EntityManager em = emf.createEntityManager();         em.getTransaction().begin();         MyEntity e = new
Tutorial
10

Step 3: Add a Main Class

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

Step 3: Add a Main Class

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

Step 6: Set the Spring XML

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