ObjectDB ObjectDB

Internal Website Search

1-10 of 200 resultsRefresh
43

JPA Persistence Unit

A JPA Persistence Unit is a logical grouping of user defined persistable classes (entity classes ... is optional when using ObjectDB, but required by JPA. persistence.xml Persistence units are defined in ... to instantiate an EntityManagerFactory in JPA (as explained in the JPA Overview section) requires
42

JPA Query API

Queries are represented in JPA 2 by two interfaces - the old Query interface, which was the only interface available for representing queries in JPA 1, and the new TypedQuery interface that was introduced in JPA 2. The TypedQuery interface extends the Query interface. In JPA 2 the Query interface
42

JPA Criteria API Queries

The JPA Criteria API provides an alternative way for defining JPA queries, which is mainly useful for building dynamic queries whose exact structure is only known at runtime. JPA Criteria API vs JPQL JPQL queries are defined as strings, similarly to SQL. JPA criteria queries, on the other hand
42

ObjectDB - Object Database for Java (JPA/JDO)

it is the bottleneck in most applications. ObjectDB is extremely fast and much faster than any other JPA solution ... is complex. See JPA benchmark results... Reduce development time. Improve productivity. ObjectDB ... API (JPA). It is the first persistence solution that combined a powerful database with JPA support in
41

JPA Entity Fields

either the Java transient modifier (which also affects serialization) or the JPA @Transient annotation ... of entity types. Basic - for any other persistable type. In JPA only Basic is optional ... of these annotations, so they are useful only for classes that are also in use with an ORM JPA
41

What is the Java Persistence API (JPA)?

The Java Persistence API (JPA) is a standard API for accessing databases from within Java applications. The main advantage of JPA over JDBC (the older Java API for interacting with databases) is that in JPA data is represented by classes and objects rather than by tables and records as in JDBC
41

CRUD Database Operations with JPA

Given an EntityManager, em, that represents a JPA connection to the object database, we can use ... persisting objects in the database in more detail. JPA Queries with JPQL We can get the number of Point ... COUNT(p) FROM Point p") instructs JPA to count all the Point objects in the database
41

JPA Persistable Types

. ObjectDB supports all the JPA persistable types, which are: User defined classes - Entity classes ... ; @Entity public class MyEntity { } Entity Class Requirements A portable JPA entity class ... Superclasses In JPA, classes that are declared as mapped superclasses have some of the features of entity
40

Setting and Tuning of JPA Queries

of other EntityManager instances). JPA implementations can easily make uncommitted changes visible in simple JPA operations, such as find. However, query execution is much more complex ... order to be visible to the query. Flush policy in JPA is represented by the FlushModeType enum
8

JPA Tutorials

The following tutorials demonstrate how to develop database driven applications using JPA and the ObjectDB ODBMS (Object Oriented Database Management System). Console JPA Tutorial The Quick Start tutorial demonstrates how to use ObjectDB and JPA in a console application: Quick Start with JPA

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