About size

81-90 of 200Refresh
Forum
1

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 ... .size()>0){    Nodes cur = queue.pop();    Nodes left = new Nodes();    left.setParent(cur
Forum
1

Handling "is null" in where clause

");     List resultList = query.getResultList();     System.out.println("ResultList size = " + resultList.size());     if (resultList.size() == 0) {         throw new Exception("There is no EntityA with simpleField == null ???");     } } ResultList.size() is always 0
Forum
1

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 You can store large attachments in ObjectDB as byte[] fields. The database size is limited to 128 TB (= 131,072 GB
Issue
1

java.lang.NullPointerException during access a field, only if the classes enhanced

) at com.objectdb.o.ISP.size(ISP.java:174) at java.util.HashSet.(Unknown Source ... .lang.NullPointerException at com.objectdb.o.ISP.size(ISP.java:175) at com.objectdb.o ... :137) at com.objectdb.o.ISP.size(ISP.java:174) at java.util.HashSet.(Unknown Source) at com
Forum
1

Merge Issue: Attempt to reuse an existing primary key value

a FROM A a", A.class).getSingleResult();         Assert.assertEquals(1, a.list.size());         em ... ();         Assert.assertEquals(2, resultList.size());         em.clear();         emf.close ... (a);         Assert.assertEquals(1, a.list.size());         em.getTransaction().begin();         b = new
Issue
1

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     public ... .NullPointerException at com.objectdb.o.ISP.size(ISP.java:153) at com.objectdb.o.CLT.visitRefs(CLT.java:156
Forum
1

Objectdb server out of heap space

, such as the ObjectDB server, are limited to the maximum heap size of the JVM, so they cannot have full control of resources. However, you can easily increase the maximum JVM heap size (which is usually ... memory use, and check the sizes of requests for data so as to keep within the bounds of resources
Forum
1

Optimistic locking: prevent version increment on entity collection attribute

();        // Both these turn out to be false!     assertTrue(readings != null);     assertTrue(readings.size() == 2 ... ()); // This works fine assertTrue(tmpDoc.getReadings().size() == 2); tmpDoc.getReadings().clear ... the DB assertTrue(tmpDoc.getReadings().size() == 0); em.getTransaction().commit
Forum
1

Performance and memory usage of queries

database is affected, so ObjectDB needs RAM in the size of the database itself. Obviously deleting ... future versions use temporary files also to enable very large transactions. Currently the size of the transaction (i.e. the total size of database pages that have to be replaced) is limited by the JVM heap size. btc_es
Forum
1

Performance with large databases

whenever I run the populating application.  Is there typically a database size when indexes can no longer ... the database size and the available RAM. As long as the available RAM is larger than the database, the entire database can reside in memory (using the OS cache, regardless of the JVM heap size