About recording

issue

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 ...

 
issue

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 ...

 
forum_thread

Handling "is null" in where clause

Greetings, I was playing aroung with JPQL and have found that there is a problem with "is null" queries. When you use "is null" in where clause, query runs correctly, but results are incorrect. Let me show you an example: - entity @Entity public class EntityA { @Id Integer id; Integer simpleField; (getters and setters here) - populating database #1 2010-09-24 10:23 Greetings, I was playing aroung with JPQL and have found that there is a problem with "is null" queries. ...

 
forum_thread

Uninitialized primary key (id = 0)

Exception in thread "main" [ObjectDB 2.2.9_04] javax.persistence.RollbackException Failed to commit transaction: Attempt to reuse an existing primary key value (image.Meta:0) (error 613) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:277) I check the db by explorer.jar, and find the only one record is id=0. What situation will be id=0? TIA #1 2011-08-26 05:26 Exception in thread "main" [ ObjectDB 2.2.9_04 ] javax. persistence . RollbackException Fai ...

 
forum_thread

ObjectDB version 2.2 has been released

ObjectDB 2.2 has been released and it includes important additions and fixes: ... Changed default configuration (enabled recovery, disabled recording). Fixed a critical database corruption bug ( issue #36 ...

 
forum_thread

ObjectDB Explorer very slow with remote con

Hi! I started to use ObjectDB Explorer to administrate a remote DB (on a server), but it seems to be very slow. The database is quite empty now, just between 5-20 records / entity, but it's still very very slow. That's the only thing that is slow on my server... How can I speed it up? #1 2013-07-24 08:21 Hi! I started to use ObjectDB Explorer to administrate a remote DB (on a server), but it seems to be very ...

 
doc

java.lang.Throwable

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

 
forum_thread

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 ...

 
release

2.3.7

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

 
manual

JPA Query Structure (JPQL / Criteria)

Explains the structure of a JPQL query, which consists of 6 clauses: SELECT, FROM, WHERE, GROUP BY, HAVING, ORDER BY. The syntax of the Java Persistence Query Language (JPQL) is very similar to the syntax of SQL. Having a SQL like syntax in JPA queries is an important advantage because SQL is a very powerful query language and many developers are already familiar wi ...