Internal Website Search

1-10 of 200 resultsRefresh

JPA Entity Fields

Fields of persistable user defined classes (entity classes, embeddable classes and mapped ... /entity/types#entity_classes">entity classes and entity/types#embeddable_classes ... ) can only be used in entity classes. Primary key fields are discussed in the

Retrieving JPA Entity Objects

context serves as a cache of retrieved entity objects. If a requested entity object is not found ... entity object is then added to the persistence context as a managed entity object and returned ... constructors of entity classes and to keep them as simple as possible.

Storing JPA Entity Objects

New entity objects can be stored in the database either explicitly by invoking the Employee entity class in the database: entity_object_life

Working with JPA Entity Objects

Entity objects are in-memory instances of entity/types#entity_classes">entity ... the database. Managing an ObjectDB Object Database using JPA requires using entity objects for many ... > Entity Object Life Cycle The life cycle of entity objects consists of four states: New

Detached Entity Objects

Detached entity objects are objects in a special entity ... entity objects, detached objects are limited in functionality: Many JPA methods do not ... that have been loaded before detachment should be used. Changes to detached entity objects are not stored in

Shared (L2) Entity Cache

of all the entity objects that it manages. The persistence context serves as a first level cache. An attempt to retrieve an entity object that is already managed by the EntityManager returns the existing instance from the persistence context, rather than a newly instantiated entity

Defining a JPA Entity Class

>an entity class. A JPA entity class is a POJO (Plain Old Java Object) class, i.e. an ordinary ... to be serialized. The Point Entity Class The following Point class, which represents points in the plane, is marked as an entity class, and accordingly, provides the ability to store

Deleting JPA Entity Objects

Existing entity objects can be deleted from the database either explicitly by invoking the commit(); The entity object is physically deleted from the database when the transaction is committed. Embedded objects that are contained in the entity object

Updating JPA Entity Objects

Modifying existing entity objects that are stored in the database is based on transparent ... >Transparent Update Once an entity object is retrieved from the database (no matter which way ... /EntityTransaction/commit">commit(); The entity object is physically updated in

Entity Management Settings

The <entities> configuration element specifies front end settings ... the following <entities> element: <entities> < ... ;/entities>