ObjectDB ObjectDB

Internal Website Search

91-100 of 200 resultsRefresh

Glassfish 4 AbstractMethodError: com.objectdb.jpa.EMF.createEntityManager

/EntityManager; at com.sun.ejb.containers.EJBContainerTransactionManager.checkExceptionClientTx(EJBContainerTransactionManager.java:665) at com.sun.ejb.containers.EJBContainerTransactionManager.postInvokeTx(EJBContainerTransactionManager.java:507) at com.sun.ejb.containers.BaseContainer.postInvokeTx

JPA Query Structure (JPQL / Criteria)

. Organization of this Section This section contains the following pages: Detailed explanations

JPA Named Queries

="SELECT c FROM Country c") The @NamedQuery annotation contains four elements

JPA Reference (JavaDoc)

This reference contains the API documentation (similar to JavaDoc) of the Java Persistence API (JPA) 2.0. The content is derived from the original JPA documentation (in the EclipseLink JPA 2 RI) with some additions and notes. The four most basic JPA types are: All the other JPA types are organized

JPA Query Expressions (JPQL / Criteria)

This section contains the following pages: Detailed explanations on how to build criteria query

Running JPA Queries

of this assumption depends on the content of the database. If the database contains multiple Country objects


situation so as to include relevant information (such as stack trace data). A throwable contains a snapshot of the execution stack of its thread at the time it was created. It can also contain a message string that gives more information about the error. Finally, it can contain a cause


that are contained in join tables will be locked if the javax.persistence.lock.scope property is specified ... , element collections and relationships owned by the entity that are contained in join tables ... the additional table(s). Entity relationships for which the locked entity contains the foreign key

Step 3: Define a Spring DAO Component

Framework. For instance, in this example the Spring container: Manages the instantiation of the DAO


should be a String containing a SQL SELECT statement. Since: JDO 2.0 void addExtension(String key ... space. The variableDeclaration parameter is the name of the variable containing the results ... containing one or more query parameter declarations separated with commas. Each parameter named in

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