Fast Object Database for Java - with JPA/JDO support

Internal Website Search

191-200 of 200 resultsRefresh

JPA Metamodel API

The JPA Metamodel API, which is introduced in JPA 2.0, enables examining the classes, fields and properties of the persistent object model, similarly to the Java reflection API. The main interface of the JPA Metamodel API is: Types (mainly classes) and attributes (persistent field and properties


of a DELETE query removes all the instances of a specified entity class (including instances ... .Object class in queries (as an extension to JPA), so the following query can be used to delete

CRUD Database Operations with JPA

> query =  em.createQuery("SELECT p FROM Point p", Point.class); List results = query ... > query = em.createQuery("SELECT p FROM Point p", Point.class); List results = query

JPA 2 Annotations

JPA defines dozens of annotations that can be divided into the following groups: Annotations for JPA aware classes: Annotations for fields in JPA persistable classes: Annotations for additional JPA configuration: Annotations for JPA lifecycle event callbacks: Java EE container annotations: Many

JDO External Listeners

The following types can be used to implement external listener classes for JDO lifecycle events: Listener objects can be bound to one or more persistence capable classes by invoking the addInstanceLifecycleListner method either at the PersistenceManagerFactory level or the PersistenceManager level.

Strings in JPQL and Criteria Queries

'.toLowerCase() is evaluated to 'poland'. The matches method of the String class can be useful ... > param = cb.parameter(String.class); // str [NOT] LIKE pattern Predicate l1 =

Step 1: Create a Maven Web Project

>        enhance        process-classes                java ... > Now you should have a Maven based NetBeans web project with Spring MVC Framework and ObjectDB/JPA support. The next step is creating a JPA Entity class.

Activation completed successfully!

. Classes that are enhanced by the ObjectDB Enhancer (when using the OEM license) are signed ... only signed enhanced persistable classes - activation by end users is unnecessary.

What is the Java Persistence API (JPA)?

) is that in JPA data is represented by classes and objects rather than by tables and records as in JDBC ... the relational database (as tables and records) and the representation in the Java application (as classes

Running JPA Queries

: TypedQuery query = em.createQuery("SELECT c FROM Country c", Country.class); List ... : TypedQuery query = em.createQuery( "SELECT COUNT(c) FROM Country c", Long.class); long

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