Fast Object Database for Java - with JPA/JDO support

Internal Website Search

61-70 of 200 resultsRefresh

JPA Persistence Unit

A JPA Persistence Unit is a logical grouping of user defined persistable classes (entity classes, embeddable classes and mapped superclasses) with related settings. Defining a persistence unit ... .jar <class>sample.MyEntity1class> <class>sample.MyEntity2class

Database Schema Evolution

Modifications to entity classes that do not change their persistent field definitions (their schema ... of an entity class are detected by ObjectDB. New entity objects have to be stored in the new class schema, and old entity objects, which were stored previously in the old class schema

[ODB1] Chapter 4 - JDO Metadata

more persistent classes. All the persistent classes, and only them, have to be declared in a metadata file ... system. Therefore, at deployment, .jdo metadata files must be packaged with an application's .class files and the other resources ... , ObjectDB determines whether or not each class is persistent. It searches for JDO metadata description

[ODB1] Chapter 7 - JDOQL Queries

. An Extent, for instance, can be used to retrieve all the instances of a specified persistent class ... : A candidate collection containing persistent objects (usually an Extent) A candidate class (usually a persistent class) A filter, which is a boolean expression in a Java like syntax The query result

[ODB1] Chapter 2 - A Quick Tour

source file,, containing a single class: 1 // A simple program that manages a list ... .objectdb.Utilities; 6 7 public class HelloWorld { 8 9 public static void main(String ... closing in every situation, including exceptions. ObjectDB Extensions The com.objectdb.Utilities class

[ODB1] Chapter 9 - ObjectDB Explorer

is open. The "Class" window shows all the persistent classes in the database. You can select a class from the list of classes at the top of this window and see all its persistent fields ... select a target element: Select a persistent class in the "Class" tabbed window to view

Schema-Update: Deactivation of automatic entity class removing and introduction of a new class remove in the schema config

works correctly we add ALL entity classes to this product. Because we will prevent a data loss of entites which are not found in the class path. With this background it would be very helpful for us if we could ignore in the ProfileMigration the classes we had not changed. And we were able

Insert a new entity class in a class hierarchy does not work

Hello, we have an entity class hierarchy and we want to insert a new entity in this hierarchy ... , because the class hierarchy had already always existed and the "new" entity class needed ... would be also inserted new in the class hierarchy then it works well. See our example in the attachments. Execute

Using your own classes in the entity class?

Using your own classes in the entity class?

JPA Lifecycle Events

methods are methods that are defined within an entity class. For example, the following entity class defines all the supported callback methods with empty implementations: @Entity public static class ... class may include callback methods for any subset or combination of lifecycle events

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