Home » Search

About size

81-90 of 200Refresh
Issue
2

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
2

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
2

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
2

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
2

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
2

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
2

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
Forum
2

Searching lists within objects

);         assertEquals(1, searchResult.size());                 query = "SELECT DISTINCT t FROM com.contextspace ... .size());                 query = "SELECT DISTINCT t FROM com.contextspace.datamodel.party.CDI t ... = cdiDao.SearchByCustomQuery(query);         assertEquals(1, searchResult.size
Forum
2

TYPE Expression

> resultList = em.createQuery(cq).getResultList();         System.out.println("Size: " + resultList.size ... );         resultList = query.getResultList();         System.out.println("Size: " + resultList.size
Issue
2

Unexpected exception (Error 990) on find

is indeed related to the size parameter. Unfortunately it would be very difficult to locate the source ... if value 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