Internal Website Search
101-150 of 200 resultsAttempt to open a non existing file '/tmp/objectdb_xxxx/SortQueryItr_6.mrg' deleted the tmp file of another application. I hope this description is sufficient. EKK EKK Emmanuel Keskes ObjectDB deletes its temporary files in 2 ways: Every process deletes its own temporary files that become unreachable (tracked by using weak references). When a process starts it tries to delete | |
Method Invocation On All Entities Deleting or changing a field of all the entities of some type is fairly easy, using the DELETE ... should do some operations before it gets deleted , and at some point we want to delete all those entities. It could be usefull if we could invoke some "doBeforeDie" method before the deletion | |
Date field Index is corrupted due to time change Hi, can you shed some light on why we cannot delete data from the attached DB file. A delete ... on an attempt to delete objects could happen with other operations as well. The common reason for database ... ; The delete query we run is: DELETE FROM RecordingMetaData The exception is the same: [ObjectDB 2.6.5 | |
Server closes if large query runs out of memory occurred during JDO deletion query, and the temp threshold was set and was low (64mb). There is an easy work-around, which is to divide up the deletion into smaller number of objects. I understand that JPA bulk delete doesn't involve any object retrieval, whereas perhaps JDO deletion does | |
How to Remove records from many to many relationship tables in JPA Hello All, I am getting the constraint violation exception whil deleting the entries I ... need to delete records in both tables (TransportationEvent and Conclusion) here i am trying to delete conclusion table records like bellow: removeConclusions(conclusion.getId()); public void | |
Foreign key constraint issue to Parent, so that when the parent is deleted all children are removed as well. Unfortunately, in ... the following case not all children are deleted : ... Parent parent = new Parent(); parentRepository ... is persisted parentRepository. delete (parent); // Here trying to delete the parent | |
com.objectdb.o.TEX: Type ... is not found, for a class that's already been enhanced successfully.; common.model.UserSession$_ delete _closure1 mr.model.MRAuction$_ delete _closure2 mr.model.MRAuction$_ delete _closure3 mr.model.MRAuction$_ delete _closure4 mr.model.MRAuction$_ delete _closure5 mr.model.MRAuction | |
Remove not working that there are no already deleted objects in the graph to delete but it still didn't work. As you can see my testcase does ... because, in the same transaction, I gather an Extent, delete an object, then try to gather the same ... that was deleted . The fix was to do a PersistenceManager.flush() before trying to gather the Extent | |
Enhancement of type is old and cannot be used. They were present before and also saved in the DB, but are deleted for some time now. When I open the DB ... ? jakab Gergely Jakab You can delete old classes using the Explorer of version 2.8.3_05 (right click - Delete , or from the Edit menu). Please check if this solves the issue. support Support I | |
Optimization Question. - If it's an update to an existing track, delete the entire previous entry and then add in the new ... more embedded objects whenever possible. Delaying the delete operations to time with less or no activity (and if you can use one transaction for deletion of many updates it can also improve performance | |
persistence.xml classes not respected by ObjectDB erase the DB and start all over. But that's a problem. I have discovered it when I had to delete and set the new database in production. It just didn't want to respect the restrictions. I had to delete ... . Otherwise I can't do it. What is it to be done? zmirc Mircea Chirac will not delete classes | |
removed objects stay with null field values in the reference to null except the primary key. The same behavior is when we delete with a query use entityManager ... ;explicitly, in addition to deleting it. However, if the set is defined as mapped by , it will be updated automatically after committing the delete operation and then reloading of the object that contains | |
Database corrupted after schema change; private boolean deleted ; private Date modificationTS ... ------------------- [1] Page #19753 entry 0 has unexpected field count (7 instead of 5) 0. oid = '567651' 1. deleted ... #33279 entry 1 has unexpected field count (7 instead of 5) 0. oid = '559770' 1. deleted = false 2 | |
Unexpected NoSuchFieldError exception.AbstractCallSite.callGetProperty(AbstractCallSite.java:296) at app.database.ObjectDbDatabase. delete _all_entities(ObjectDbDatabase.groovy:69) at app.framework.Database$ delete _all_entities$0 ... (AbstractCallSite.java:296) at app.database.ObjectDbDatabase. delete _all_entities(ObjectDbDatabase.groovy:69) at app | |
Is it possible to remove parent/child entities without refresh?; } } private static EntityManager createEntityManager(String dbFileName, boolean delete ) { EntityManagerFactory emf = null; if ( delete ) { new File(dbFileName). delete (); new File(dbFileName + "$"). delete (); } emf = Persistence | |
Query.getResultStream() - JPA Method for a Java Persistence query language UPDATE or DELETE statement QueryTimeoutException - if the query | |
Query.getSingleResult() - JPA Method Persistence query language UPDATE or DELETE statement QueryTimeoutException - if the query execution exceeds | |
Query.getResultList() - JPA Method JPA Method in javax.persistence.Query List getResultList () Execute a SELECT query and return the query results as an untyped List. Return: a list of the results Throws: IllegalStateException - if called for a Java Persistence query language UPDATE or DELETE statement QueryTimeoutException | |
TypedQuery.getSingleResult() - JPA Method query language UPDATE or DELETE statement QueryTimeoutException - if the query execution exceeds | |
TypedQuery.getResultList() - JPA Method JPA Method in javax.persistence.TypedQuery List getResultList () Execute a SELECT query and return the query results as a typed List. Return: a list of the results Throws: IllegalStateException - if called for a Java Persistence query language UPDATE or DELETE statement QueryTimeoutException | |
TypedQuery.getResultStream() - JPA Method for a Java Persistence query language UPDATE or DELETE statement QueryTimeoutException - if the query | |
javax.persistence.OrderColumn is responsible for updating the ordering upon flushing to the database to reflect any insertion, deletion , or | |
javax.persistence.ForeignKey.value a constraint whose update and delete actions it determines most appropriate for the join column(s | |
javax.persistence.StoredProcedureQuery Persistence query language UPDATE or DELETE statement QueryTimeoutException - if the query execution exceeds | |
Removing of an entity removes also another entity type. All ResolverMapping entities are removed by a query ( DELETE FROM ...), afterwards ResolverMapping entities ... . If the ToleranceDefinition entity is removed from database by a query ( DELETE FROM ...) then it performs. The data ... .7.1_03. btc_es BTC EmbeddedSystems OK. Thanks for the update. Please note that mixing direct DELETE | |
Removed entities can be found by query in the same transaction __odbtracker/m (type STA, value=Persistent- Deleted -Flushed) which shows that the entity is deleted ... what is the problem? best regards BTC btc_es BTC EmbeddedSystems If an entity was deleted from ... at least two different snapshots of objects - one with the deleted object and the other without the deleted object | |
ClassCastException thrown when running count query have inserted. I'm currently evaluating your product. So i insert and delete a lot of data. I also tried ... reference integrity and it is the application responsibility to avoid deletion from the database ... will be produced. support Support The orphan Position records are there because i deleted some Units with a DELETE | |
Blocked by find. The code looks like: Query query = em.createQuery(" DELETE FROM DataHolder d WHERE d ... is persisting more data, the other group is deleting the first set of data via delete statements. Eventually ... the application the data sizes are larger so I guess the delete is slower and gives the appearance | |
References to objects of missing obsolete entity classes the database but their classes have been deleted or missing? This is abnormal state for a database ... itself, is it correct that the objects are in the database but their classes have been deleted or missing ... of deleting classes using the Explorer, so it may be related. We cannot reproduce the exceptions | |
'DROP TABLE' in ODB? Let's say I no longer need some entity in my project and after deleting all the objects ... I found a description that the DB Explorer should be capable to delete classes? But it seems not ... of deleting classes in the Explorer. An obsolete class can be selected in the Schema / Managed | |
ArrayIndexOutOfBoundsException on flush at this point is performing a delete query for all entity objects that the database contains: EntityManager em = _emf.createEntityManager(); em.getTransaction().begin(); try { Query query = em.createQuery(" DELETE FROM ExecutionGraph g"); query.executeUpdate(); query = em.createQuery(" DELETE FROM | |
Allow removal of entity class from ObjectDB & Explorer Hi. It would be very useful to be able to delete an entire entity class from ObjectDB ... .8.2 adds support of deleting classes in the Explorer. An obsolete class can be selected in the Schema / Managed Types list and then deleted by using [Edit Delete ] from the menu bar or right click (context menu) and Delete . support Support | |
Cascade.ALL with LAZY fetchtype does not clean up all references on remove with FetchType.LAZY. If I now delete a root entity using EntityManager.remove all leaf nodes will not be deleted . This only applies to the leaf nodes. If I add an additional the behaviour changes so that these new leafes will not be deleted . I created a small test case which can be downloaded at  | |
javax.jdo.annotations.Join.deleteAction JDO Annotation Attribute in javax.jdo.annotations.Join ForeignKeyAction deleteAction default ForeignKeyAction.UNSPECIFIED Delete action to be applied to any ForeignKey on this join. Since: JDO 2.1 | |
javax.jdo.annotations.Key.deleteAction JDO Annotation Attribute in javax.jdo.annotations.Key ForeignKeyAction deleteAction default ForeignKeyAction.UNSPECIFIED Delete action to apply to the foreign key for the key. Since: JDO 2.1 | |
PersistenceManager.flush() - JDO Method JDO Method in javax.jdo.PersistenceManager void flush () Flushes all dirty, new, and deleted instances to the data store. It has no effect if a transaction is not active. If a datastore transaction is active, this method synchronizes the cache with the datastore and reports any exceptions | |
StateManager.isTransactional(pc) - JDO Method of being the target of a makeTransactional method call; newly made persistent or deleted persistent instances | |
StateManager.isDirty(pc) - JDO Method JDO Method in javax.jdo.spi.StateManager boolean isDirty ( PersistenceCapable pc ) Tests whether this object is dirty. Instances that have been modified, deleted , or newly made persistent in the current transaction return true . Transient nontransactional instances return false | |
javax.jdo.annotations.Value.deleteAction JDO Annotation Attribute in javax.jdo.annotations.Value ForeignKeyAction deleteAction default ForeignKeyAction.UNSPECIFIED Delete action to apply to any foreign key for the value. Since: JDO 2.1 | |
JDOHelper.isDirty(pc) - JDO Static Method JDO Static Method in javax.jdo.JDOHelper boolean isDirty ( Object pc ) Tests whether the parameter instance is dirty. Instances that have been modified, deleted , or newly made persistent in the current transaction return true . Transient instances and instances of classes | |
PersistenceManager.deletePersistentAll(pcs) - JDO Method JDO Method in javax.jdo.PersistenceManager void deletePersistentAll ( Collection pcs ) Delete a Collection of instances from the data store. Parameters: pcs - a Collection of persistent instances See Also: deletePersistent (Object pc) Since: JDO 1.0 | |
PersistenceManager.deletePersistentAll(pcs) - JDO Method JDO Method in javax.jdo.PersistenceManager void deletePersistentAll ( Object... pcs ) Delete an array of instances from the data store. Parameters: pcs - a Collection of persistent instances See Also: deletePersistent (Object pc) Since: JDO 1.0 | |
javax.jdo.annotations.Join ForeignKeyAction.UNSPECIFIED Delete action to be applied to any ForeignKey on this join. Since: JDO 2.1 | |
javax.jdo.annotations.ForeignKeyAction JDO Enum ForeignKeyAction java.lang.Object ∟ java.lang.Enum ∟ javax.jdo.annotations.ForeignKeyAction Enumeration of the foreign-key delete /update action values. Since: JDO 2.1 Enum Constants CASCADE Since: JDO 2.1 DEFAULT Since: JDO 2.1 NONE Since: JDO 2.1 NULL Since: JDO 2.1 RESTRICT | |
javax.jdo.annotations.ForeignKey.deleteAction JDO Annotation Attribute in javax.jdo.annotations.ForeignKey ForeignKeyAction deleteAction default ForeignKeyAction.RESTRICT The delete action of this foreign key. Since: JDO 2.1 | |
StateInterrogation.isDirty(pc) - JDO Method JDO Method in javax.jdo.spi.StateInterrogation Boolean isDirty ( Object pc ) Tests whether the parameter instance is dirty. Instances that have been modified, deleted , newly made persistent in the current transaction, or modified while detached return Boolean.TRUE . Instances | |
javax.jdo.listener.InstanceLifecycleEvent Since: JDO 2.0 DELETE Since: JDO 2.0 DETACH Since: JDO 2.0 DIRTY Since: JDO 2.0 LOAD Since: JDO 2.0 STORE | |
javax.jdo.annotations.ForeignKey ForeignKeyAction.RESTRICT The delete action of this foreign key. Since: JDO 2.1 String[] members default | |
javax.jdo.annotations.Element.deleteAction JDO Annotation Attribute in javax.jdo.annotations.Element ForeignKeyAction deleteAction default ForeignKeyAction.UNSPECIFIED Delete action to apply to any foreign key for the element. Since: JDO 2.1 | |
PersistenceCapable.jdoIsDirty() - JDO Method JDO Method in javax.jdo.spi.PersistenceCapable boolean jdoIsDirty () Tests whether this object is dirty. Instances that have been modified, deleted , or newly made persistent in the current transaction return true. Transient instances return false. Return: true if this instance has been modified in |