ObjectDB ObjectDB

Internal Website Search

191-200 of 200 resultsRefresh
13

Retrieving JPA Entity Objects

. Notice that construction of a new managed object during retrieval uses the no-arg constructor. Therefore, it is recommended to avoid unnecessary time consuming operations in no-arg constructors
9

java.lang.Throwable

: via a constructor that takes the cause as an argument, or via the initCause(Throwable) method. New throwable classes that wish to allow causes to be associated with them should provide constructors that take a cause and delegate (perhaps indirectly) to one of the Throwable constructors that takes a cause
9

Defining a JPA Entity Class

; // Constructor: Point (int x, int y) { this.x = x; this.y = y
9

Database Schema Evolution

Modifications to entity classes that do not change their persistent field definitions (their schema) are transparent to ObjectDB. This includes adding, removing and modifying constructors, methods and non persistent fields. However, additions, deletions and modifications to the persistent fields
1

Step 2: Entity Class and Persistence Unit

; private String name; private Date signingDate; // Constructors: public Guest
1

Step 2: Entity Class and Persistence Unit

Long id; private String name; private Date signingDate; // Constructors
1

Step 2: Entity Class and Persistence Unit

; private Date signingDate; // Constructors: public Guest() { } public Guest
1

Step 2: Entity Class and Persistence Unit

Long id; private String name; private Date signingDate; // Constructors: public
1

Step 2: Define a JPA Entity Class

; // Constructors: public Guest() { } public Guest(String name) { this.name = name
1

[ODB1] Chapter 6 - Persistent Objects

is retrieved from the database, its no-arg constructor is used to construct a memory object to represent ... constructors of persistent classes, and to keep them as simple as possible. The Persistent Object

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