ObjectDB ObjectDB

Internal Website Search

41-50 of 200 resultsRefresh

JPA Criteria API Queries

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

JPA Metamodel API

Metamodel API is Metamodel. It can be obtained either by the EntityManagerFactory's getMetamodel method or

Working with JPA Entity Objects

a level 2 shared cache for the EntityManagerFactory as well as other caches as explained in


class in Java SE environments to create an javax.persistence.EntityManagerFactory. Since: JPA 1.0 EntityManagerFactory createContainerEntityManagerFactory( PersistenceUnitInfo info, Map map) Called by the container when an EntityManagerFactory is to be created. Called by the container


Bootstrap class that is used to obtain an EntityManagerFactory in Java SE environments. The Persistence ... Persistence in Chapter 3 of the ObjectDB/JPA manual. EntityManagerFactory createEntityManagerFactory(String persistenceUnitName) Create and return an EntityManagerFactory for the named persistence unit


by the persistence provider when creating an javax.persistence.EntityManagerFactory. Since: JPA 1.0 ... () Returns the transaction type of the entity managers created by the EntityManagerFactory. Returns the transaction type of the entity managers created by the EntityManagerFactory. The transaction type

createEntityManagerFactory(emName, map)

Method javax.persistence.spi.PersistenceProvider EntityManagerFactory createEntityManagerFactory( String emName, Map map ) Called by Persistence class when an EntityManagerFactory is to be created ... (and may be null if no properties are specified). Returns: EntityManagerFactory for the persistence unit

Step 6: Set the Spring XML

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

Step 2: Define a JPA Entity Class

. The next step is adding a context listener class that will manage a JPA's EntityManagerFactory representing the ObjectDB database.


.persistence.EntityManagerFactory cast to a PersistenceManagerFactory. Returns a PersistenceManagerFactory ... .EntityManagerFactory cast to a PersistenceManagerFactory. If the name given is null or consists only of whitespace ... .EntityManagerFactory classes Returns: the PersistenceManagerFactory with properties in the given

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