ObjectDB Database Search
51-100 of 200 resultsorphanRemoval = true not working when CascadeType.REMOVE is disabled addresses; I'm expecting, that removing Employee from db, addresses has been too, but I ... = CascadeType. REMOVE ) Address entities used Employee (id=1) deleted, but Address (name_2) using | |
Question: remove and recreate an object, do the references survive ? between that would remove the orphane references) ? hgzwicker Hans-Georg Zwicker References | |
Removed entities can be found by query in the same transaction Hello, we opened a transaction, load an entity from database and removed this entity by em. remove (). Afterwards the entity can be load again by query although the resulted entity have an attribute __odbtracker/m (type STA, value=Persistent-Deleted-Flushed) which shows that the entity is deleted | |
Allow removal of entity class from ObjectDB & Explorer to its data structure. When an entity class becomes unnecessary, we should be able to remove | |
Persist & remove in same transaction Remove the entity object, EntityManager is flushed & cleared, Transaction is not committed Count | |
InterfaceRef jakarta.persistence.EntityManager persistence context. A removed entity is an instance with a persistent identity, and associated with a persistence context, that is scheduled for removal from the database upon transaction commit ... ) Since: JPA 1.0 void detach (Object entity) Evict the given managed or removed entity from | |
InterfaceRef jakarta.persistence.criteria.CriteriaQuery are specified, any previously added grouping expressions are simply removed . This method ... previously added grouping expressions are simply removed . This method only overrides the return type ... removed . This method only overrides the return type of the corresponding AbstractQuery method | |
InterfaceRef jakarta.persistence.criteria.AbstractQuery. If no grouping expressions are specified, any previously added grouping expressions are simply removed ... expressions are specified, any previously added grouping expressions are simply removed . Parameters ... are specified, any previously added restrictions are simply removed . Parameters: restrictions | |
InterfaceRef jakarta.persistence.criteria.Subquery. If no grouping expressions are specified, any previously added grouping expressions are simply removed ... are specified, any previously added grouping expressions are simply removed . This method only overrides ... restrictions are simply removed . This method only overrides the return type of the corresponding | |
EntityManager.persist(entity) - JPA Method when the persistence context is synchronized with the database, or make a removed entity managed, undoing the effect of a previous call to remove . This operation cascades to every entity related by ... , that is, if it already belongs to this persistence context, and has not been marked for removal , it is itself ignored | |
AnnotationRef jakarta.persistence.OneToOne false (Optional) Whether to apply the remove operation to entities that have been removed from the relationship and to cascade the remove operation to those entities. Since: JPA 2.0 Class targetEntity | |
AnnotationAttrRef jakarta.persistence.OneToMany.orphanRemoval JPA Annotation Attribute in jakarta.persistence.OneToMany boolean orphanRemoval default false (Optional) Whether to apply the remove operation to entities that have been removed from the relationship and to cascade the remove operation to those entities. Since: JPA 2.0 | |
AnnotationAttrRef jakarta.persistence.OneToOne.orphanRemoval JPA Annotation Attribute in jakarta.persistence.OneToOne boolean orphanRemoval default false (Optional) Whether to apply the remove operation to entities that have been removed from the relationship and to cascade the remove operation to those entities. Since: JPA 2.0 | |
AnnotationRef jakarta.persistence.OneToMany boolean orphanRemoval default false (Optional) Whether to apply the remove operation to entities that have been removed from the relationship and to cascade the remove operation to those entities | |
InterfaceRef jakarta.persistence.Subgraph removeAttributeNode ( Attribute attribute) Remove an attribute node from the entity graph ... (String attributeName) Remove an attribute node from the entity graph. When this graph ... removeAttributeNodes ( Attribute .PersistentAttributeType nodeTypes) Remove all attribute nodes | |
InterfaceRef jakarta.persistence.Graph removeAttributeNode ( Attribute attribute) Remove an attribute node from the entity graph. When this graph ... ;attributeName) Remove an attribute node from the entity graph. When this graph is interpreted as a load graph ... nodeTypes) Remove all attribute nodes of the given attribute types. When this graph | |
InterfaceRef jakarta.persistence.EntityGraph removeAttributeNode ( Attribute attribute) Remove an attribute node from the entity graph ... removeAttributeNode (String attributeName) Remove an attribute node from the entity graph. When this graph ... removeAttributeNodes ( Attribute .PersistentAttributeType nodeTypes) Remove all attribute nodes | |
EnumRef jakarta.persistence.CascadeType cascade=ALL is equivalent to cascade={PERSIST, MERGE, REMOVE , REFRESH, DETACH }. See Also: ManyToOne ... the plain operation Since: JPA 1.0 REMOVE Cascade the plain operation Since: JPA 1.0 Public Static | |
EntityManager.merge(entity) - JPA Method, and has not been marked for removal , it is itself ignored, but the operation still cascades ... is not an entity or is a removed entity TransactionRequiredException - if there is no transaction | |
EntityManager.detach(entity) - JPA Method JPA Method in jakarta.persistence.EntityManager void detach ( Object entity ) Evict the given managed or removed entity from the persistence context, causing the entity ... with this persistence context, it is ignored. Parameters: entity - a managed or removed entity instance | |
InterfaceRef jakarta.persistence.Cache whether the entity is in the cache Since: JPA 2.0 void evict (Class cls) Remove the data ... Since: JPA 2.0 void evict (Class cls, Object primaryKey) Remove the data for the given | |
objectdb-2.6.9_06: Extended Persistence Context fails: 'Attempt to begin a new transaction when a transaction is active' triggers creation of a project (all complex sub-elements and wiring removed here) via: project = request ... with extended persistence context Entity Manager calls a @ Remove method on the EJB (but not ... when a transaction is active */ @ Remove public void remove () {   | |
CriteriaQuery.groupBy(grouping) - JPA Method are specified, any previously added grouping expressions are simply removed . This method only overrides | |
CriteriaQuery.groupBy(grouping) - JPA Method, any previously added grouping expressions are simply removed . This method only overrides the return | |
CriteriaQuery.where(restrictions) - JPA Method. If no restrictions are specified, any previously added restrictions are simply removed . This method | |
InterfaceRef jakarta.persistence.criteria.CriteriaDelete restrictions are simply removed . Parameters: restrictions - zero or more restriction predicates Return: the modified delete query Since: JPA 2.1 | |
CriteriaDelete.where(restrictions) - JPA Method removed . Parameters: restrictions - zero or more restriction predicates Return: the modified delete query Since: JPA 2.1 | |
AbstractQuery | |
AbstractQuery | |
Subquery.having(restrictions) - JPA Method. If no restrictions are specified, any previously added restrictions are simply removed . This method | |
Subquery.groupBy(grouping) - JPA Method previously added grouping expressions are simply removed . This method only overrides the return type | |
Graph | |
Graph | |
Graph | |
FieldRef jakarta.persistence.Persistence.PERSISTENCE_PROVIDER JPA Static Field in jakarta.persistence.Persistence PERSISTENCE_PROVIDER This final String is deprecated and should be removed and is only here for TCK backward compatibility Since: JPA 1.0 | |
EntityManager.getReference(entity) - JPA Method, but may be neither new nor removed . If the requested instance does not exist in the database | |
ClassRef jakarta.persistence.PersistenceConfiguration for validation at PrePersist . Since: JPA 3.2 VALIDATION_GROUP_PRE_ REMOVE Target groups | |
Cache.evict(cls,primaryKey) - JPA Method JPA Method in jakarta.persistence.Cache void evict ( Class cls, Object primaryKey ) Remove the data for the given entity from the cache. Parameters: cls - entity class primaryKey - primary key Since: JPA 2.0 | |
Cache.evict(cls) - JPA Method JPA Method in jakarta.persistence.Cache void evict ( Class cls ) Remove the data for entities of the specified class (and its subclasses) from the cache. Parameters: cls - entity class Since: JPA 2.0 | |
AbstractQuery | |
AbstractQuery | |
AbstractQuery | |
Subquery.where(restrictions) - JPA Method are specified, any previously added restrictions are simply removed . This method only overrides | |
AbstractQuery | |
CriteriaQuery.having(restrictions) - JPA Method. If no restrictions are specified, any previously added restrictions are simply removed . This method | |
CriteriaUpdate.where(restrictions) - JPA Method(s), if any. If no restrictions are specified, any previously added restrictions are simply removed | |
Subquery.having(restrictions) - JPA Method. If no restrictions are specified, any previously added restrictions are simply removed . This method | |
CriteriaQuery.where(restrictions) - JPA Method. If no restrictions are specified, any previously added restrictions are simply removed . This method | |
Cache.evict(cls,primaryKey) - JPA Method JPA Method in javax.persistence.Cache void evict ( Class cls, Object primaryKey ) Remove the data for the given entity from the cache. Parameters: cls - entity class primaryKey - primary key Since: JPA 2.0 | |
Cache.evict(cls) - JPA Method JPA Method in javax.persistence.Cache void evict ( Class cls ) Remove the data for entities of the specified class (and its subclasses) from the cache. Parameters: cls - entity class Since: JPA 2.0 |