About time

release

2.2.4

... Changed log format to include date and time . Changed class loader management. Fixed ...

 
forum_thread

Enforce Second Level cache

In my application I have an entity with few transient Collection fields, these are constantly updateing very fast and access to those fields is needs to be fast too, thus I dont persist them (also this information is temporary and doesent need to be kept). I suppose that entity modified is the same that is cached in 2nd level cache. so that if i request that entity again I will get actually the same object with already ready state. Not sure about this but please leave your comment on this (is it really the same object kept in cache).... ... guarantee that this entity object is kept in cache all the time (there are not many of these entities), is it possible to enforce objectdb ... of that entities in 2nd level cache. Thanks for time edit ...

 
forum_thread

significant performance decrease

we are using objected in embedded mode (on OS X and WINDOWS). The database increased now to around 400000 entities of one class (database file size around 1.5 GByte). The response time of standard queries increased with this database size to an unacceptable rate (several seconds compared to around 30% when the number of entities was just half of the current). We tried to optimize the cache settings, current objectdb.conf is: <!-- ObjectDB Configuration --> <objectdb> ... class (database file size around 1.5 GByte). The response time of standard queries increased with this database size to an unacceptable ... classes, indexes, database size, and query execution time. ObjectDB Support ObjectDB - Fast Object ...

 
forum_thread

Performance with large databases

When populating a large database (10s of GBs) performance drops suddenly at a certain time whenever I run the populating application.  Is there typically a database size when indexes can no longer be held fully in memory or some such issue?  The method calls that suddenly start to take the most time are those that retrieve data from the store. ... (10s of GBs) performance drops suddenly at a certain time whenever I run the populating application.  Is there typically a ... method calls that suddenly start to take the most time are those that retrieve data from the store. ...

 
forum_thread

Dates

Question on dates. SQL doesn't seem to store timezone with dates (oddly). So, any best practises with ODB? 1. use java.util.Date 2. Milliseconds since January 1, 1970, 00:00:00 GMT 3. other?... the database it is automatically converted back to local time. Using (2) instead of (1) in your option list might be slightly faster ... are usually preferred because they represent date and time values better. If you want to store a timezone you may use a separate ...

 
forum_thread

Java EE JPA (GLassfish) tutorial throws ClassCastException

When launching the Guestbook tutorial for the second time (after a server restart) I get a ClassCastException: java.lang.ClassCastException: guest.Guest cannot be cast to guest.Guest The first time (when the db is created) persisting and retrieving works fine. Using the explorer on the db file shows the objects I persisted. I followed the exact steps as descriped in the tutorial. Did I miss something? - Java 1.7.0_03 - ObjectDB 2.4.5_06 - GlassFish Server Open Source Edition 3.1.2.2 ... When launching the Guestbook tutorial for the second time (after a server restart) I get a ClassCastException: ... cannot be cast to guest.Guest The first time (when the db is created) persisting and retrieving works fine. Using ...

 
forum_thread

OutofMemory error with Object DB 2.0

Hi, I am getting the below OutOfMemoryError after I have migrated from objectdb 1.0 to 2.0 The application works with 256MB heap size with objectdb 1.0  But on 2.0 even with max heap size of 1024MB, I get this error. The application reads xml file of around 1GB and creates a new odb file and inserts 200 records at a time. ... creates a new odb file and inserts 200 records at a time. The transaction obtained from the PersistentManager is commited ... Also if I close the PersistenceManager every time I commit a transaction and open new one for next transaction, the ...

 
forum_thread

Using multiple databases

Is it possible for an ObjectDB PersistenceManger/EntityManager to connect to more than one database at a time? Also, can objects in one database reference objects in another database (e.g. through globally unique identifiers)? ... to connect to more than one database at a time? Also, can objects in one database reference objects in another ... You can use as many databases as needed at the same time but each database connection requires a separate EntityManager / ...

 
forum_thread

Query and commit simultaneously

Is it possible to query and commit on the same persistence manager (i.e. same odb file) at the same time?... same persistence manager (i.e. same odb file) at the same time? edit ... so you can query and update the database at the same time using multiple threads. However, if all the threads share the same ...

 
issue

Negative snapshot user count exception

I found the following stack trace in my log files; it's cropped up a number of times: ... Since your system ran with ObjectDB for a long time (I think 2 years?) without these issues, two possible factors may be ... On our Dev server we were running with 2.5.x for some time, including a few weeks against a copy of the production data, without ...