ObjectDB ObjectDB

Internal Website Search

61-70 of 200 resultsRefresh

Glassfish and ObjectDB 2.4.3

] on host/port [] INFO: REST00001: Listening to REST requests at context: /management/domain ... : REST00001: Listening to REST requests at context: /management/domain INFO: The Admin Console ... created. INFO: SEC1011: Security Service(s) Started Successfully INFO: WEB0169: Created HTTP listener

Detached Entity Objects

The following operations clear the entire EntityManager's persistence context and detach all managed ... method, which clears an EntityManager's persistence context. Rolling back a transaction - either by

Database Explorer

that has to be set. The functionality of the Edit > Delete command depends on the context. Deleting ... by right clicking one of its instances in the viewer window (Table or Tree) and using the [Set View] context menu command.

Entity Management Settings

the persistence context of the EntityManager (which serves as a first level cache). The valid values ... the persistence context (until commit or flush), regardless of this setting. The level2 attribute specifies

Storing JPA Entity Objects

. Therefore, holding 1,000,000 managed Point instances in the persistence context might consume too much memory. The sample code above clears the persistence context after every 10,000 persists. Updates

JPA Criteria API Queries

, including in the context of string based JPQL queries. Criteria Query Expressions JPA query clauses ... that describe expressions in general, including in the context of string based JPQL queries.

JPA Annotations for Classes

JPA defines three types of persistable classes which are set by the following annotations: Chapter 2 of the ObjectDB manual explains these annotations in detail. Entity and mapped super classes can be further configured by annotations that specify cache preferences and lifecycle event listener

JPA Annotations for Callback Methods

The following annotations can mark methods as JPA callback methods: The Lifecycle Events section of the ObjectDB Manual explains how to use all these annotations on callback methods and with listener classes.


Method javax.jdo.listener.StoreCallback void jdoPreStore() Called before the values are stored from this instance to the data store. Data store fields that might have been affected by modified non ... so that changes to persistent fields will be reflected in the data store. The context in


Method javax.jdo.listener.LoadCallback void jdoPostLoad() Called after the values are loaded from the data store into this instance. This method is not modified by the enhancer. Derived fields should be initialized in this method. The context in which this call is made does not allow access to other persistent JDO instances. Since: JDO 2.0

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