Fast Object Database for Java - with JPA/JDO support

Internal Website Search

101-110 of 200 resultsRefresh
6

Step 3: Add a Main Class

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

Step 6: Set the Spring XML

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

Step 6: Set the Spring XML

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

JPA Criteria API Queries

the EntityManagerFactory's getCriteriaBuilder method or by the EntityManager's getCriteriaBuilder method
6

Online Backup

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

JPA Named Queries

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

javax.persistence.EntityNotFoundException

EntityManager.getReference is accessed but the entity does not exist. Thrown when EntityManager.refresh is called and the object no longer exists in the database. Thrown when EntityManager.lock is used ... , if one is active, will be marked for rollback. Since: JPA 1.0 See Also: EntityManager.getReference
5

javax.persistence.EntityManagerFactory

: IllegalStateException - if the entity manager factory has been closed Since: JPA 1.0 EntityManager createEntityManager() Create a new application-managed EntityManager. Create a new application-managed EntityManager. This method returns a new EntityManager instance each time it is invoked. The isOpen
5

javax.jdo.JDOEntityManager

javax.jdo Interface JDOEntityManager Superinterfaces: EntityManager, PersistenceManager Since: JDO ... getDelegate() Return the underlying provider object for the EntityManager, if available. Return the underlying provider object for the EntityManager, if available. The result of this method is implementation
4

Is it possible to remove parent/child entities without refresh?

We have a big entity object tree in our project. If I use the entityManager.remove(childEntity) method to remove a child entity a entityManager.refresh(parentEntity) is necessary in order to have an updated parent/child object tree in memory. But entityManager.refresh is too slow for our project

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