ObjectDB ObjectDB

Internal Website Search

141-150 of 200 resultsRefresh
9

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
9

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
9

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
9

500Mb ObjectDb database opening issue

500Mb ObjectDb database opening issue
9

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 ? webel Dr Darren Kelly
9

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
9

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
9

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
9

EM close causes an exception

). The exception in #13 is thrown during query execution, where it seems that the temporary file is deleted while the query is executed. The temporary file is deleted only when the database is closed ... to check (in case the directory was created and deleted): System.setProperty("objectdb.temp.no-temp
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

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