 196 | New entity objects can be stored in the database either explicitly by invoking the persist method ... an instance of the Employee entity class in the database:
Employee employee = new Employee("Samuel ... and changes its state to Managed. The new entity object is stored in the database when the transaction |
 188 | 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 |
 186 | Modifying existing entity objects that are stored in the database is based on transparent ... Once an entity object is retrieved from the database (no matter which way) it can simply be modified in memory ... ();
The entity object is physically updated in the database when the transaction is committed |
 183 | The <entities> configuration element specifies front end settings that are relevant on the client side and in embedded mode. The default configuration file contains the following <entities> element:
<entities>
|
 180 | 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 |
 180 | 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 |
 177 | To store objects in an ObjectDB database using JPA we need to define an entity class: Right click ... - use exactly that case sensitive class name. Click Finish to create the new entity class. A new class ... .persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
@Entity |
 175 | To store objects in an ObjectDB database using JPA we need to define an entity class: Open the [New ... .Serializable;
import javax.persistence.*;
@Entity
public class Point implements Serializable ... . Besides the @Entity annotation and the id field (and its annotations) - the Point class |
 175 | To store objects in an ObjectDB database using JPA we need to define an entity class: Open the [New ... .Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
@Entity
public ... in the database. Besides the @Entity annotation and the id field (and its annotations) - the Guest |
 175 | To store objects in an ObjectDB database using JPA we need to define an entity class: Open the [New ... .Date;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
@Entity
public class Guest implements Serializable {
private static final long |