About recording


NullPointer on query

I'm getting a null pointer when running the following code: TypedQuery<ObjectDbMessagePayload> query = em.createQuery("SELECT m FROM ObjectDbMessagePayload m WHERE m.id = :id", ObjectDbMessagePayload.class); query.setParameter("id", msg.getId()); List<ObjectDbMessagePayload> loaded = query.getResultList(); Stack trace follows: ... Maybe if you enable recording it would be possible to recreate the problem by replaying the ...


ArrayIndexOutOfBoundsException on flush

The following exception was thrown when my app attempted to flush an objectdb database: ... Do you have the full transaction history (recording) in an odr directory? If you have it the corruption may be reproduced ... 2011-11-11 10:59 Recording transactions could help if replaying them reproduce the problem and ...


Objectdb recovery

Hello, I have question regarding objectdb recovery when objectdb is not finished correctly (power outage). We are using following configuration: <recovery enabled="true" sync="false" path="." max="128mb"/> <recording enabled="false" sync="false" path="." mode="write"/> Is there any possibility of data loss when power outage? ... path = "." max = "128mb" / > <recording enabled = "false" sync = "false" path = "." mode = ...


Wrong select results

Hello, I got a realy strange SELECT problem. In explorer query "select p  from Player p where p.confirmed==false", given me some results with p.confirmed==TRUE. And when I try to do (see image) "select p, p.confirmed  from Player p where p.confirmed==false", I getting p->confirmed->true and p.confirmed->false. How so? <odb v2.6.5_05> And this problem not only in explorer ... sync="false" path="." max="128mb" />   <recording enabled="false" sync="false" path="." mode="write" />   ...


Join performance in Objectdb

select count(e) from Meta e, ImageNet i, Page p where e.idImage=i.id and e.idPage=p.id; So simple a command cause me half an hour and is running now! Each table has about 160K records. What formula can predict the time for such counting? TIA #1 2011-08-27 08:37 SELECT count ( e ) FROM Meta e , ImageNet i , Page p WHERE e . idImage = i . ...


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> ... path = "." max = "128mb" /> <recording enabled = "false" sync = "false" path = "." ...



The Throwable class is the superclass of all errors and exceptions in the Java language.(Class of java.langClass Throwable)


objectdb-2.6.9_02 (with "objectdb.temp.no-enhancement-crc-check") vs. generic classes with interfaces: detailed investigation

objectdb-2.6.9_02 (with "objectdb.temp.no-enhancement-crc-check" system property) The following is a detailed report on investigation of multiple issues that have been mentioned in the following forum postings and issue reports (but please do not visit them from here now, the diagnostics there are now obsolete): - Issue #282 - ObjectDB-2.6.9: Failed to commit transaction: Failed to set numeric value of field property Element.id using reflection #1 2016-08-21 09:00 objectdb-2.6.9_02  (with "objectdb.temp.no-enhancement-crc-check" system property) The follow ...



... Changed default configuration (enabled recovery, disabled recording). Fixed a critical database structure bug ( issue #36 ...


java.sql.Timestamp.getTime() not working

Hi, I need to work with Timestamp diff in two entity fields, but this queries SELECT count(p) FROM Player p WHERE p.loginAt.getTime()-p.registeredAt.getTime()>:value SELECT p.loginAt.getTime() FROM Player p fails with object is not an instance of declaring class but SELECT p.loginAt.getYear() FROM Player p works. How that possible?   #1 2016-11-27 19:51 Hi, I need to work with Timestamp diff in two entity fields, but this queries SELECT count ( p ...