Home » Search

About delete

111-120 of 200Refresh
Forum
2

Remove not working

this and similar cases. I double and tripple checked 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 nothing other than retrieving ... )".   It seems to happen because, in the same transaction, I gather an Extent, delete an object
Forum
2

Query results are not up to date for entities, not primitives

="/" permissions="access,modify,create,delete" />           
Forum
2

Optimization Question

. - If it's an update to an existing track, delete the entire previous entry and then add in the new ... . 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). If you still want to try updating
Forum
2

removed objects stay with null field values in the reference

is when we  delete with a query use entityManager.remove  You have to remove the object from the set 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 the set
Issue
2

ArrayIndexOutOfBoundsException on flush

.java:722) ... 40 more The code at this point is performing a delete query for all entity objects ... ().begin(); try { Query query = em.createQuery("DELETE FROM ExecutionGraph g"); query.executeUpdate(); query = em.createQuery("DELETE FROM WorkflowInstance w"); query.executeUpdate
Forum
2

Query fails with numerical values > 2^31

) delete from DataRecord p where p.TimeOfDeletion < 4147483648 This fails with "invalid numerical literal ... values of '1410521074995' are stored. So, it is possible to store this big numbers. But, why is my DELETE ... stacktrace: Exception in thread "Thread-2" [ObjectDB 2.5.6_05] DELETE FROM DataRecord c WHERE c
Forum
2

persistence.xml classes not respected by ObjectDB

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 the elements in the development db, then upload ... -unlisted-classes/> will not delete classes that are already in the database. It should, however, prevent
Forum
2

500Mb ObjectDb database opening issue

500Mb ObjectDb database opening issue
Forum
2

Drop the entire database, Change the schema

to do this with ObjectDb, or is the only way to delete the database file everytime? Thanks You can delete the database file (and associated files if any) using your code, e.g.     new File(path).delete ... ,tmp" /> This is a defensive restriction to avoid deleting databases by mistake, but the conventional
Forum
2

EntityManagerFactory Fails To Swtich Over To Slave When Master Is Unavailable

,modify,create,delete" />