ObjectDB ObjectDB

Internal Website Search

111-120 of 200 resultsRefresh

java.sql.Date equals comparison not working with CriteriaAPI

);         System.out.println("Query: " + query.toString());         System.out.println("Result Size: " + resultList.size());                 em.close();         emf.close();     }     @Entity     public static ... $1 FROM MyDateEntity $1 WHERE $1.date=:$$cmlp1 Result Size: 1 The Predicate's toString

Performance problem

database. Their size and number of records are almost identical. When running production database in ... threshold is different, possible due the size of the results (probably related to the number of related ... is too large, you have to make the decision how to reduce its size, considering also your application needs

Cache usage

by objectdb is much less than we would expect. The database file has around 25 GByte of size ... ") It seems that when the heap dump was taken the size of the database page cache was about 1.4GB ... % of the maximum size is normal. In addition to this cache, the OS manages its own cache and can use

Possible issue for JPQL IS EMPTY expression

IS EMPTY (error 756) Thanks. Note: It doesn' t work with SIZE(): SELECT e FROM MyEntity e WHERE SIZE(e ... IS EMPTY");         System.out.println(query.getResultList().size());         em.close

Index causes increased memory usage

% Hopefully this helps? cvtsc Dev Team About 3.5GB are in use by the page cache (which has a size of 64MB per database by default). Have you changed the cache size? A separate cache is managed per open ... open databases with page cache size of 128MB (each) then this explains your numbers. The cache is not

Speed of queries that return many objects

below) - the DB size is only about 8MB - and it takes about 3sec to load the 1mio entities ... = System.currentTimeMillis();             long dt = t2-t1;             System.out.println("LIST " + L.size() + " dt ... from the disk - the odb file size for the example above is around 8MB. So it should take 20ms to load

ArrayIndexOutOfBoundsException on flush

The current theory is that this may be related to the size of the objects that are being stored. The process in test was working ok until the start of this week at which point data sizes increased ... with the uncompressed data) and is help as a string. The size is certainly larger than 2k

each 1-2 days objects on some objectdb level lock/block each other

and will get back to you soon. support Support just a bit more parameters - the database size is around 60 GByte ... " threshold="256mb" /> <network inactivity-timeout="0" /> <url-history size="50" user ... ="*" level="info" /> </general> <database> <size initial="256kb" resize="256kb" page

Tracking changes to new collections (in enhancement mode) after flush

ArrayList<>());             list.add("item-" + list.size());         }                  public int getCount() {             return map.get("list").size();         }     } } support Support ... : " + entity.list.size());         em.close();                  emf.close();     }     @Entity

Problem using "and" for joined entities and indexed fields

join p.children c where c.age = 42", Parent.class).getResultList().size ... ).getResultList().size());         System.out.println(em.createQuery("select from Parent p join p.children c where c.age = 42 and c.name = 'Foo'", Parent.class).getResultList().size

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