ObjectDB Database Search
51-100 of 200 resultsQuestion: remove and recreate an object, do the references survive ? between that would remove the orphane references) ? hgzwicker Hans-Georg Zwicker References | |
NULL reference, how to remove we have in our db these objects, how can we remove them (we did already a -cp Doctor): hgzwicker Hans-Georg Zwicker More information is needed about this NULL reference ... reference? If they are ordinary null values in the ArrayList then you can use List 's remove method. See also this question on stackoverflow. support Support | |
Cascade.ALL with LAZY fetchtype does not clean up all references on remove Hello, I have a tree of entity classes that reference others using Cascade.ALL in combination with FetchType.LAZY. If I now delete a root entity using EntityManager. remove all leaf nodes will not ... the database. If you remove the FetchType everything works. Best regards Markus doppelrittberger | |
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 | |
Persist & remove in same transaction Remove the entity object, EntityManager is flushed & cleared, Transaction is not committed Count | |
Allow removal of entity class from ObjectDB & Explorer to its data structure. When an entity class becomes unnecessary, we should be able to remove | |
javax.persistence.EntityManager to create and remove persistent entity instances, to find entities by their primary key ... 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 | |
javax.persistence.criteria.CriteriaQuery are specified, any previously added grouping expressions are simply removed . This method only overrides ... 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 | |
javax.persistence.criteria.AbstractQuery are specified, any previously added grouping expressions are simply removed . Parameters: grouping - zero ... previously added grouping expressions are simply removed . Parameters: grouping - list of zero or ... , any previously added restrictions are simply removed . Parameters: restrictions - zero or | |
javax.persistence.criteria.Subquery expressions 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 ... are simply removed . This method only overrides the return type of the corresponding AbstractQuery | |
javax.persistence.CascadeType cascade=ALL is equivalent to cascade={PERSIST, MERGE, REMOVE , REFRESH, DETACH} . Since: JPA 1.0 Enum ... Cascade refresh operation Since: JPA 1.0 REMOVE Cascade remove operation Since: JPA 1.0 Public | |
javax.persistence.OneToMany) 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 default void | |
javax.persistence.OneToMany.orphanRemoval JPA Annotation Attribute in javax.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 | |
javax.persistence.OneToOne 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 default void.class (Optional | |
javax.persistence.OneToOne.orphanRemoval JPA Annotation Attribute in javax.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 | |
javax.persistence.Cache whether the entity is in the cache Since: JPA 2.0 void evict (Class cls) Remove the data for entities ... void evict (Class cls, Object primaryKey) Remove the data for the given entity from | |
EntityManager.detach(entity) - JPA Method JPA Method in 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 | |
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 () {   | |
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 | |
EntityManager.merge(entity) - JPA Method - if instance is not an entity or is a removed entity TransactionRequiredException - if there is no transaction | |
javax.persistence.Persistence.PERSISTENCE_PROVIDER JPA Static Field in javax.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 | |
AbstractQuery.where(restrictions) - JPA Method. If no restrictions are specified, any previously added restrictions are simply removed . Parameters | |
AbstractQuery.groupBy(grouping) - JPA Method are specified, any previously added grouping expressions are simply removed . Parameters: grouping - zero or | |
AbstractQuery.groupBy(grouping) - JPA Method previously added grouping expressions are simply removed . Parameters: grouping - list of zero or | |
AbstractQuery.having(restrictions) - JPA Method), if any. If no restrictions are specified, any previously added restrictions are simply removed | |
javax.persistence.criteria.CriteriaDelete removed . Parameters: restrictions - zero or more restriction predicates Return: the modified delete query Since: JPA 2.1 | |
CriteriaDelete.where(restrictions) - JPA Method(s), if any. If no restrictions are specified, any previously added restrictions are simply removed | |
CriteriaQuery.where(restrictions) - JPA Method. If no restrictions are specified, any previously added restrictions are simply removed . This method | |
CriteriaQuery.groupBy(grouping) - JPA Method are specified, any previously added grouping expressions are simply removed . This method only overrides | |
CriteriaQuery.groupBy(grouping) - JPA Method previously added grouping expressions are simply removed . This method only overrides the return type | |
CriteriaQuery.having(restrictions) - JPA Method), if any. If no restrictions are specified, any previously added restrictions are simply removed | |
CriteriaQuery.orderBy(o) - JPA Method ordering, if any, is simply removed , and results will be returned in no particular order. The left-to-right | |
CriteriaQuery.orderBy(o) - JPA Method, if any, is simply removed , and results will be returned in no particular order. The order | |
javax.persistence.criteria.CriteriaUpdate restriction(s), if any. If no restrictions are specified, any previously added restrictions are simply removed | |
javax.jdo.PersistenceManager transaction. The data store object will be removed at commit. Unlike makePersistent , which makes ... makeTransient (Object pc) Make an instance transient, removing it from management by ... transient, removing it from management by this PersistenceManager . If the useFetchPlan parameter is false | |
javax.jdo.PersistenceManagerFactory () Since: JDO 2.0 void removeAllFetchGroups () Remove all FetchGroup s from the set of active FetchGroup s. All removed FetchGroup s become unscoped. The methods addFetchGroups , removeFetchGroups ... removeFetchGroups (FetchGroup... groups) Remove the FetchGroup s from the set of active FetchGroup s | |
javax.jdo.FetchGroup is removed from the set of active FetchGroups via PersistenceManagerFactory.removeFetchGroups ... Since: JDO 2.2 FetchGroup removeCategory (String categoryName) Remove the members (fields or ... the category name to a set of members and then removes the members as if removeMembers was called | |
javax.jdo.spi.JDOImplHelper removeRegisterClassListener ( RegisterClassListener crl) Remove the specified RegisterClassListener from the listener list. Parameters: crl - the listener to be removed Since: JDO 1.0 void removeStateInterrogation ( StateInterrogation si) Remove a StateInterrogation from the list. Create a new list in case | |
PersistenceManagerFactory.removeFetchGroups(groups) - JDO Method... groups ) Remove the FetchGroup s from the set of active FetchGroup s. Existing FetchGroup s that match parameter FetchGroup s are removed . Parameter FetchGroup s that do not match any existing FetchGroup are ignored. Removed FetchGroup s become unscoped. Match is based on identical class | |
FetchGroup.removeMembers(memberNames) - JDO Method JDO Method in javax.jdo.FetchGroup FetchGroup removeMembers ( String... memberNames ) Remove the member (field or property) from the set of members in this FetchGroup. Duplicates in the parameter list are eliminated before removing them from the membership. Return: the FetchGroup | |
FetchGroup.removeCategory(categoryName) - JDO Method JDO Method in javax.jdo.FetchGroup FetchGroup removeCategory ( String categoryName ) Remove the members (fields or properties) of the named category from the set of members in this FetchGroup. This method first resolves the category name to a set of members and then removes | |
javax.jdo.FetchPlan fetch groups. Return: the FetchPlan Since: JDO 2.0 FetchPlan clearGroups () Remove all active groups ... removeGroup (String fetchGroupName) Remove the fetch group from the set active fetch groups. Return | |
javax.jdo.InstanceCallbacks, and the persistent instance should be removed from the list of managed instances. To implement this, the application ... , and implement jdoPreClear to remove itself from the list. With JDO 1.0, the domain class would be declared | |
PersistenceManager.removeUserObject(key) - JDO Method JDO Method in javax.jdo.PersistenceManager Object removeUserObject ( Object key ) Remove the specified key and its value from the map of user objects. Parameters: key - the key of the object to be removed Since: JDO 2.0 | |
PersistenceManager.removeInstanceLifecycleListener(listener) - JDO Method JDO Method in javax.jdo.PersistenceManager void removeInstanceLifecycleListener ( InstanceLifecycleListener listener ) Removes the listener instance from the list of lifecycle event listeners. Parameters: listener - the listener instance to be removed Since: JDO 2.0 | |
PersistenceManagerFactory.removeInstanceLifecycleListener(listener) - JDO Method JDO Method in javax.jdo.PersistenceManagerFactory void removeInstanceLifecycleListener ( InstanceLifecycleListener listener ) Remove the parameter listener instance from the list ... : listener - the listener instance to be removed Since: JDO 2.0 | |
PersistenceManagerFactory.removeAllFetchGroups() - JDO Method JDO Method in javax.jdo.PersistenceManagerFactory void removeAllFetchGroups () Remove all FetchGroup s from the set of active FetchGroup s. All removed FetchGroup s become unscoped. The methods addFetchGroups , removeFetchGroups , getFetchGroups , and removeAllFetchGroups are internally serialized | |
JDOImplHelper.removeRegisterClassListener(crl) - JDO Method JDO Method in javax.jdo.spi.JDOImplHelper void removeRegisterClassListener ( RegisterClassListener crl ) Remove the specified RegisterClassListener from the listener list. Parameters: crl - the listener to be removed Since: JDO 1.0 | |
JDOImplHelper.removeStateInterrogation(si) - JDO Method JDO Method in javax.jdo.spi.JDOImplHelper void removeStateInterrogation ( StateInterrogation si ) Remove a StateInterrogation from the list. Create a new list in case there is an iterator open on the original list. Parameters: si - the StateInterrogation to remove Since: JDO 1.0 |