ObjectDB ObjectDB

Internal Website Search

61-70 of 200 resultsRefresh
7

JPA Lifecycle Events

(added to the EntityManager). @PostPersist - after storing a new entity in the database (during commit or
7

Database Management Settings

stored in the database, the index cannot be used until all the existing instances are indexed
1

Step 2: Entity Class and Persistence Unit

To store objects in an ObjectDB database using JPA we need to define an entity class: Open the [New Java Class] dialog box, e.g. by right clicking the project node (in the [Package Explorer] window) and selecting New > Class. Enter guest as the package name - use exactly that case sensitive package
1

Eclipse/JPA Spring MVC Web Tutorial

is represented by a Guest JPA entity object and all the Guest entity objects are stored in an ObjectDB
1

Step 4: Run the Application

installation directory. Running the application again will use the existing database file to store
1

Spring MVC and JPA Tutorial

are stored in an ObjectDB database. This tutorial is available in the following versions: In addition, the demonstrated application is available as a Maven project:
1

Step 4: Add a Controller Class

Guest entity object is constructed and stored in the database. Processing is forwarded to a JSP page
0

javax.jdo.spi.PersistenceCapable.ObjectIdFieldConsumer

: ObjectIdFieldManager This interface is used to store fields from the Object id instance. It is used by the method ... , boolean value) Store one field into the field manager. Store one field into the field manager ... fieldNumber, byte value) Store one field into the field manager. Store one field into the field
0

javax.jdo.spi.PersistenceCapable.ObjectIdFieldSupplier

will be stored in the proper field of the ObjectId. Parameters: fieldNumber - the field number of the key field. Returns: the value of the field to be stored into the ObjectId. Since: JDO 1.0 byte ... . This field will be stored in the proper field of the ObjectId. Parameters: fieldNumber - the field
0

javax.jdo.JDOHelper

from the same JDO implementation to locate a persistent instance with the same data store identity ... is not managed by the application or the data store, then the ObjectId returned is only valid ... propsFile) Returns a PersistenceManagerFactory configured based on the properties stored in the file

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