ObjectDB ObjectDB

Internal Website Search

91-100 of 200 resultsRefresh

Eager Fetch is not stable for collection or map types?

.setParameter("id", id).getResultList();     if(result.size() > 0) {       Game g = result.get(0 ... a mehtod such as size() of collection or map before closing the EntityManager, data can be retrieved ... ).getResultList(); if(result.size() > 0) { Game g = result.get(0); logger.debug("[trace

Optimistic locking: prevent version increment on entity collection attribute

out to be false!     assertTrue(readings != null);     assertTrue(readings.size() == 2); } oudjanef Farid ... ()); // This works fine assertTrue(tmpDoc.getReadings().size() == 2); tmpDoc ... back from the DB assertTrue(tmpDoc.getReadings().size() == 0); em.getTransaction().commit

Doctor - high memory usage

for this database is about 650MB. It's about ten times of size of database. lwalkowski Lukasz Walkowski ... have at least 2GB RAM, I don't think that running the Doctor with 512MB max heap size should be a problem ... max heap size (-Xmx512m) it works well with the default configuration - it took ~10 seconds to check

Empty query results after JAR creation

. The Size of both DB files is exactly the same, so I have no idea what the difference is or why I ... . > The Size of both DB files is exactly the same There is a default initial database size so you may have the same size for an empty database and a database with some content. > Is this the way

-XMX settings recommendation

The default is 256M what is the recommended settings based on? It is the size of the DB? number ... is better, as long as you have sufficient RAM. You can track the actual heap size in production and see if it is sufficient. If you have RAM constraints and the heap size is tight, you may have to reduce

Is ObjectDB suitable for DMS (Document Management System)?

Office, OpenOffice files, PDF files etc.) properly. Are there any limits on database size or attachment size? Does clustering(master-slave) apply also to attachments? Thank you, David dmarko David Marko You can store large attachments in ObjectDB as byte[] fields. The database size is limited to 128 TB

Merge Issue: Attempt to reuse an existing primary key value

(             "SELECT a FROM A a", A.class).getSingleResult();         Assert.assertEquals(1, a.list.size ... ();         Assert.assertEquals(2, resultList.size());         em.clear();         emf.close ... ();         Assert.assertNotNull(a);         Assert.assertEquals(1, a.list.size());         em

find() cost unreasonable time!

) // Success for Inheritance Sonsection //@Cache(size=10000) @DiscriminatorColumn(discriminatorType ... )/1000f);    if (null==sons) continue;    int iCnt = sons.size();    System.out.printf("%d ... ;   int iCnt = 0;   while (queue.size()>0){    Nodes cur = queue.pop();    Nodes left = new

Unexpected exception (Error 990) on find

is indeed related to the size parameter. Unfortunately it would be very difficult to locate the source ... size 256 is indeed the limit, i.e. what is the maximum size that does work. Maybe the problem is related to the size of the values indirectly, since objects that are larger than 2KB need

NullPointer when accessing persistent field

.NullPointerException at com.objectdb.o.ISP.size(ISP.java:153) at com.objectdb.o.CLT.visitRefs(CLT ... ();         System.out.println(list.size());         em.close();         emf.close();     }     @Entity ... .NullPointerException: null java.lang.NullPointerException at com.objectdb.o.ISP.size(ISP.java:153) at com

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