About entities

21-30 of 200Refresh
Manual
76

JPA Primary Key

Every entity object that is stored in the database has a primary key. Once assigned, the primary key cannot be modified. It represents the entity object as long as it exists in the database. As ... that is absent from other object oriented databases. Entity Identification Every entity object in
Manual
48

Chapter 6 - Configuration

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

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
48

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

Spring MVC and JPA Tutorial

that has signed the guestbook is represented as Guest JPA entity object, and all Guest entity objects
JPA Doc
45

JPA Annotations for Classes

JPA defines three types of persistable classes which are set by the following annotations: Chapter 2 of the ObjectDB manual explains these annotations in detail. Entity and mapped super classes can be further configured by annotations that specify cache preferences and lifecycle event listener
JPA Doc
42

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
42

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
JPA Doc
42

lock(entity, lockMode, properties)

Method javax.persistence.EntityManager void lock(   Object entity,   LockModeType lockMode,   Map properties ) Lock an entity instance that is contained in the persistence context ... is specified and the entity contains a version attribute, the persistence provider must also perform
Manual
42

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