Home » Search

About class

1-10 of 200 Refresh
Tutorial
171

Step 2: Define a JPA Entity Class

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 tutorial package node (in the [Projects] window) and selecting New > Java Class... Enter Point as the class name - use exactly that case sensitive
Tutorial
170

Step 2: Define a JPA Entity Class

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 [Projects] window) and selecting New > Java Class... Enter Guest as the class name - use exactly that case sensitive class name
Tutorial
169

Step 2: Define a JPA Entity Class

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 tutorial as the package name - use exactly that case sensitive
Tutorial
169

Step 2: Define a JPA Entity Class

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
Tutorial
169

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 Entity Class] dialog box, e.g. by right clicking the project node (in the [Projects] window) and selecting New > Entity Class... (or New > Other... > Persistence > Entity Class and clicking
Tutorial
167

Step 2: Entity Class and Persistence Unit

To store objects in an ObjectDB database using JPA we need to define an entity class: Right click ... as Folder Name and click Finish. Open the [New Java Class] dialog box, e.g. by right clicking the new source directory node (in the [Package Explorer] window) and selecting New > Class. Enter guest as
Tutorial
167

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 Entity Class] dialog box, e.g. by right clicking the project node (in the [Projects] window) and selecting New > Entity Class... (or New > Other... > Persistence > Entity Class and clicking
Tutorial
167

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
Manual
144

JPA / JDO Class Enhancer

of compiled classes after compilation. Enhancement is mainly for user-defined persistable classes (entity classes, embeddable classes and mapped superclasses), and is usually optional. There is one case, however, where enhancement is required. Non persistable classes that access directly (not
Manual
134

Defining a JPA Entity Class

To be able to store Point objects in the database using JPA we need to define an entity class. A JPA entity class is a POJO (Plain Old Java Object) class, i.e. an ordinary Java class that is marked ... to serializable classes, which are marked as having the ability to be serialized. The Point Entity