ObjectDB ObjectDB

Internal Website Search

191-200 of 200 resultsRefresh

JPA Named Queries

are used to instantiate them. The createNamedQuery method receives a query name and a result type

WHERE clause (JPQL / Criteria API)

)); Multiple Restrictions The second where method takes a variable number of arguments of Predicate type

Defining a JPA Entity Class

, including which persistent types can be used for persistent fields, how to define and use a primary key

CRUD Database Operations with JPA

. The TypedQuery interface, which was introduced in JPA 2, is a type safe subinterface of Query

Shared (L2) Entity Cache

("javax.persistence.cache.retrieveMode",   CacheRetrieveMode.BYPASS); // For retrieval by type

BIRT/ODA ObjectDB Driver

and selecting New Data Source. Select ObjectDB Data Source from the list of available data source types

Step 3: Create an ObjectDB Data Source

data source types. Enter data source name (e.g. ObjectDB Points) and click Next. Specify the database

Step 2: Entity Class and Persistence Unit

name="GuestbookPU" transaction-type="RESOURCE_LOCAL"> <provider>com.objectdb.jpa.Provider

Step 2: Entity Class and Persistence Unit

-type="RESOURCE_LOCAL"> <provider>com.objectdb.jpa.Provider</provider> <class>guest.Guest

JDO Annotations for Fields

The way a field of a persistable class is managed by JDO can be set by the following annotations and enum types:

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