About number

forum_thread

Problems Running ODB Explorer

When ODB is run in embedded mode (Eclipse), it is fine but the explorer throws the following exception:-   ... unusable at a very crucial time. Do you have a support number? I have not found one anywhere on your site. Please note: I have had to ...

 
issue

ObjectDB-2.6.9: Failed to commit transaction: Failed to set numeric value of field property Element.id using reflection

The following error is reported for objectdb-2.6.9.jar: Failed to commit transaction: Failed to set numeric value of field property com.greensoft.objectdb.test.entity.Element.id using reflection (error 613) Did not happen with objectdb-2.6.3_04 (which one can easily test and compare in the test console app for NetBeans8.1 provided, as explained below). To reproduce download the app and unpack, open in NetBeans8.1, perform Clean and Build, and Run: ... another one to be reported following) also happens in a number of work projects and only with newer versions higher than ... abstract public class Quantity<T extends Number> extends Value<T> implements IQuantity<T> ...

 
forum_thread

Sample JDO Architecture for Follow Up Questions

I am trying to finalize on my application's JDO and ObjectDB archieture.  I have done documentation survey (reading JDO books, studying ObjectDB's documents and forum) and have designed what I think is the best architecture for my particular application usage model. ... set for multiThreaded=true. * There are a limited number of threads to maximize available CPU power but minimize thread context ...

 
forum_thread

Cache usage

after a runtime of several weeks we are now analyzing the usage of the cache and so on. Looking at the heap dump we suspect that the cache is really used (see heap dump attached), the RAM allocated by objectdb is much less than we would expect. The database file has around 25 GByte of size and there is heavy traffic of around 400 clients communicating permanently via webSockets to the objectdb. The config is attached as well. The question is: is the cache really used ? ... programs are not shown in the heap dump image, as the number of instances is less than 500. Level 2 cache  (cache ...

 
manual

Strings in JPQL and Criteria Queries

Explains string expressions in JPQL queries, including LIKE, LOCATE, LOWER, UPPER, TRIM, CONCAT and SUBSTRING.... a String The LENGTH (str) function returns the number of characters in the argument string as an int . For ...

 
release

2.5.4

... Improved processing of queries with a large number of variables ( issue #114 ). Improved toString of ... Fixed a critical bug in handling a very large number of entity classes ( issue #139 ). Fixed ...

 
issue

Internal Exception

Critical error:: com.objectdb.o.InternalException: Unexpected internal exception at com.objectdb.o.JPE.h(JPE.java:165) [objectdb-2.4.4_05.jar:] at com.objectdb.o.ERR.f(ERR.java:70) [objectdb-2.4.4_05.jar:] at com.objectdb.o.OBC.onObjectDBError(OBC.java:1505) [objectdb-2.4.4_05.jar:] at com.objectdb.jpa.JpaQuery.getSingleResult(JpaQuery.java:723) [objectdb-2.4.4_05.jar:] ... Caused by: java.lang.NullPointerException at com.objectdb.o.WVP.q(WVP.java:539) [objectdb-2.4.4_05.jar:] at com.objectdb.o.WVP.l(WVP.java:220) [objectdb-2.4.4_05.jar:] at com.objectdb.o.WV... ) ) OR ( UPPER ( $1 . number ) LIKE UPPER ( '%Meier%' ) ) OR ...

 
forum_thread

Sorting problem

Hi, I was rewriting our DAO to support pagging in large dataset and I think I have found a problem with sorting. I send you a test case - sorry for using the same project as previous, but it was faster to write this test case. As usual, you can load data with DataLoader and then check problem with QueryData. There is a simple query with "order by" sentence: #1 2011-02-13 00:04 Hi, I was rewriting our DAO to support pagging in large dataset and I think I have found a problem with s ...

 
forum_thread

Optimistic locking: prevent version increment on entity collection attribute

Hello, I have an entity E with an attribute which is a collection of entities (one to many relationship) with an optimistic locking strategy supported by a version field. Is it possible to prevent the increment of the version of entity E when entities are added to or removed from the collection? Something like the equivalent of @OptimisticLock(excluded=true) in Hibernate? Thanks, Farid ... it makes less sense (in my case there is a limited number of readers). Hope this makes sense, Regards, ...

 
release

2.5.3

... Improved processing of queries with a large number of variables ( issue #114 ). Improved toString of ... Fixed a critical bug in handling a very large number of entity classes ( issue #139 ). Fixed ...