ObjectDB ObjectDB

Internal Website Search

141-150 of 200 resultsRefresh
8

500Mb ObjectDb database opening issue

500Mb ObjectDb database opening issue
8

Replication error on slave restart

. Every time you restart the master server a new recording file is created. You should be able to delete old ... (Unknown Source) Level has program generated @id. And sometimes I use "DELETE lvl FROM level lvl ... ="xxx1" password="xxx2" admin="true"> <dir path="/" permissions="access,modify,create,delete
8

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
8

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
8

EntityManagerFactory Fails To Swtich Over To Slave When Master Is Unavailable

,modify,create,delete" />                 </user>                 <user username="$default" password="$$$###">                         <dir path="/$user/" permissions="access,modify,create,delete ... ">                         <dir path="/" permissions="access,modify,create,delete
8

Unexpected NoSuchFieldError exception

(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.groovy ... .database.ObjectDbDatabase.delete_all_entities(ObjectDbDatabase.groovy:69) at app.framework.Database
8

Database corrupted after schema change

{     private String oid;     private boolean deleted;     private Date modificationTS;     private ... ' 1. deleted => false 2. modificationTS => 2021-04-16 13:38:57 3. creationTS => 2021-04-16 13:38:03 ... entry 1 has unexpected field count (7 instead of 5) 0. oid => '559770' 1. deleted => false 2
8

Drop the entire database, Change the schema

to do this with ObjectDb, or is the only way to delete the database file everytime? Thanks JFK John Francis You can delete the database file (and associated files if any) using your code, e.g.     new File(path).delete(); However, this could be a useful ObjectDB feature. Maybe adding ;drop as a url parameter
1

Negative snapshot user count

The NullPointerException in issue 559 (#15) reveals that this problem can happen when using DELETE ... ;         private static final String DELETE_QUERY =         "DELETE FROM MyEntity WHERE id = :id ... ();                     em2.getTransaction().begin();                     em2.createQuery(DELETE_QUERY
1

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

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support