Home » Search

About delete

121-130 of 200Refresh
Forum
2

How force always recreate database on redeployment.

Is there some easy way to force recreation/deletion of the current database on deployment of a web ... the server, delete the database file, re-start the objectdb server, re-run the web app, which is tedious ... to force ObjectDB to always delete or empty the database file on startup ? You should be able to drop
Forum
2

Is it possible to remove parent/child entities without refresh?

EntityManager createEntityManager(String dbFileName, boolean delete) {   EntityManagerFactory emf = null;   if (delete) {    new File(dbFileName).delete();    new File(dbFileName + "$").delete
Forum
2

Merge with Parent/Child entities not possible

, boolean delete) {   EntityManagerFactory emf = null;   if (delete) {    new File(dbFileName).delete();    new File(dbFileName + "$").delete();   }   emf = Persistence.createEntityManagerFactory
Issue
2

Negative snapshot user count

The NullPointerException in issue 559 (#15) reveals that this problem can happen when using DELETE or UPDATE queries ... String DELETE_QUERY =         "DELETE FROM MyEntity WHERE id = :id";     public static void main ... .getTransaction().begin();                     em2.createQuery(DELETE_QUERY
Forum
2

Replication error on slave restart

is created. You should be able to delete old recording files unless they are needed for slave servers ... Source) Level has program generated @id. And sometimes I use "DELETE lvl FROM level lvl" to reassemble ... ,delete" />
Forum
2

Unexpected NoSuchFieldError exception

.callGetProperty(AbstractCallSite.java:296) at app.database.ObjectDbDatabase.delete_all_entities(ObjectDbDatabase.groovy:69) at app.framework.Database$delete_all_entities$0.call(Unknown Source) at org.codehaus ... ) at app.database.ObjectDbDatabase.delete_all_entities(ObjectDbDatabase.groovy:69) at app.framework
Forum
2

The server cannot start in CentOS

="access,modify,create,delete" />                                           
Issue
2

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 http
Issue
1

[ObjectDB 2.4.1] Unexpected exception (Error 990)

(RemoteTestRunner.java:197)   The stack trace indicates a missing (or empty) FROM clause in a DELETE ... test program with invalid DELETE query: import javax.persistence.*; public class T825 ... .createEntityManager();         em.getTransaction().begin();         em.createQuery("DELETE o
Forum
1

ArrayIndexOutOfBoundsException

- you may have to delete that specific entity object to make the database useful again. If you could submit ... have restarted objectdb server and immediately after a create, update or delete operation the DB ... and after they were rebuilt using the doctor the same behavior was experienced.   I then tried to delete