About managed

11-20 of 200Refresh
Manual
23

Working with JPA Entity Objects

), which can represent physical objects in the database. Managing an ObjectDB Object Database using JPA ... : New, Managed, Removed and Detached. When an entity object is initially created its state is New.  In ... the database. An entity object becomes Managed when it is persisted to the database
Forum
21

List managed entities for a given entity manager

Hi, Is there a way to find the number of managed entities given an entity manager? My application has some memory leaks - I am doing clear() on the entity manager(s) but may be I forgot some - so if there is a way to know how many entities are managed by each my entity mgr - it would be helpful
Manual
20

SELECT clause (JPQL / Criteria API)

The ability to retrieve managed entity objects is a major advantage of JPQL. For example, the following query returns Country objects that become managed by the EntityManager em: TypedQuery ... > results = query.getResultList(); Because the results are managed entity objects they have all the support
Manual
18

CRUD Database Operations with JPA [2011-02-11]

a managed entity) by the persist method. The new Point objects are physically stored in the database ... Entities JPA refers to entity objects that are associated with an EntityManager as 'managed'. A newly constructed entity object becomes managed by an EntityManager when the persist method is invoked
Manual
18

CRUD Database Operations with JPA

a managed entity) by the persist method. The new Point objects are physically stored in the database ... Entities JPA refers to entity objects that are associated with an EntityManager as 'managed'. A newly constructed entity object becomes managed by an EntityManager when the persist method is invoked
Manual
17

Detached Entity Objects

Detached entity objects are objects in a special state in which they are not managed by any EntityManager but still represent objects in the database. Compared to managed entity objects, detached ... the database unless modified detached objects are merged back into an EntityManager to become managed
Manual
17

JPA Metamodel API

details on managed classes and persistent fields and properties, similarly to the ability that Java ...  (which are referred to as managed types) in the persistent object model. Three methods can be used to retrieve sets of types: // Get all the managed classes: // (entity classes, embeddable classes
JPA Doc
16

javax.persistence.metamodel.EmbeddableType

getAttribute(String name) Return the attribute of the managed type that corresponds to the specified name. Return the attribute of the managed type that corresponds to the specified name. Parameters: name ... : IllegalArgumentException - if attribute of the given name is not present in the managed type Since: JPA 2.0 Set
JPA Doc
16

javax.persistence.metamodel.EntityType

Attribute getAttribute(String name) Return the attribute of the managed type that corresponds to the specified name. Return the attribute of the managed type that corresponds to the specified ... Throws: IllegalArgumentException - if attribute of the given name is not present in the managed type
JPA Doc
16

javax.persistence.metamodel.IdentifiableType

the attribute of the managed type that corresponds to the specified name. Return the attribute of the managed type that corresponds to the specified name. Parameters: name - the name of the represented ... of the given name is not present in the managed type Since: JPA 2.0 Set< Attribute> getAttributes