About delete

131-140 of 200Refresh
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" />                                                                                
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

500Mb ObjectDb database opening issue

500Mb ObjectDb database opening issue
Forum
2

The server cannot start in CentOS

="access,modify,create,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