Home » Search

About delete

121-130 of 200Refresh
Forum
2

500Mb ObjectDb database opening issue

500Mb ObjectDb database opening issue
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
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

The server cannot start in CentOS

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