About entity

21-30 of 200Refresh
Tutorial
93

Step 2: Define a JPA Entity Class [2011-02-11]

To store objects in an ObjectDB database using JPA we need to define an entity class: Open the [New ... : package tutorial; import java.io.Serializable; import javax.persistence.*; @Entity public ... should represent Point objects in the database. Besides the @Entity annotation and the id field
Tutorial
93

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 ... : package tutorial; import java.io.Serializable; import javax.persistence.*; @Entity public ... should represent Point objects in the database. Besides the @Entity annotation and the id field
Manual
91

Chapter 2 - JPA Entity Classes [2013-02-25]

JPA Entity classes are user defined classes whose instances can be stored in a database. To store data in an ObjectDB database using JPA you have to define entity classes that represent your application data object model. This chapter explains how to define and use entity classes. 
Manual
31

JPA Persistable Types

. ObjectDB supports all the JPA persistable types, which are: User defined classes - Entity classes ... and Serializable types (user or system defined). Note: Only instances of entity classes can be stored in the database directly. Other persistable types can be embedded in entity classes as fields. In
Manual
30

JPA Lifecycle Events

Callback methods are user defined methods that are attached to entity lifecycle events ... methods are methods that are defined within an entity class. For example, the following entity class defines all the supported callback methods with empty implementations: @Entity public static class
Manual
30

Chapter 6 - Configuration

The ObjectDB configuration file contains one root element with seven subelements: ... ... <entities> ... entities> ... ... ... ...
Tutorial
30

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

NetBeans/JPA Spring MVC Web Tutorial

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

detach(entity)

Method javax.persistence.EntityManager void detach(   Object entity ) Remove the given entity from the persistence context, causing a managed entity to become detached. Unflushed changes made to the entity if any (including removal of the entity), will not be synchronized to the database. Entities
JPA Doc
29

lock(entity, lockMode)

Method javax.persistence.EntityManager void lock(   Object entity,   LockModeType lockMode ) Lock an entity instance that is contained in the persistence context with the specified lock mode type. If a pessimistic lock mode type is specified and the entity contains a version attribute