About not

release

2.0.2

... problems. Fixed a bug in the results of IS [NOT] NULL queries. Fixed a bug in ObjectDB Doctor. ...

 
forum_thread

First query takes 4+ minutes to complete

Hi, we are evaluating ObjectDB 2.5.1_04 in embedded mode hoping to replace SQLite in our application. We observed that in our case it takes on average more than 4 minutes to complete the first SELECT query that we run on the DB which contains about 320,000 records of a single type of object. SQLite in comparison responds within few seconds on average with the same number of records. We hope to receive your recommendation on how to improve this result with this post.   Test System ... In our case the fields are in the ORDER part. So, I do not think an index will help. Also, we tried a different query today: ... In our case the fields are in the ORDER part. So, I do not think an index will help. ObjectDB uses indexes also to sort ...

 
forum_thread

How to create a Unique constraint?

Hi, I'm trying to create a unique constraint. Here is a simple example: @Entity public class Account { @Id @GeneratedValue private long id; @Index(unique="true") private String name; } The code runs and my Account objects are persisted. But no exception is thrown if name is the same. What do I need to do to have a Unique constraint? Thanks, Carl   ... ( "true" ) is widely used in JDO annotations but it is not very pretty. Update: Starting ObjectDB 2.6.6 new indexes are ...

 
issue

unexpected exception - in query

I received the following exception while trying to process a query:... calculates average on values that at least one of them is not numeric. I could reproduce the exception in the attached test. ...

 
forum_thread

Memory leak

Hi, We have a memory leak in our application which seems to be related with ObjectDB. Basically, we use single instance of EntityManager, which is opened on aplication initialization and closed when the user logs out, as well as EntityManagerFactory. We use em.clear() after every commit and after execution of query. Our classes are enhanced with ObjectDB enhancer. However, used memory is growing overtime until OutOfMemoryException is thrown on JBoss server. We use JBoss 7.1.1. and latest ObjectDB version. ... instances have been created and have not been closed, and ObjectDB is very sensitive for closing every opened ...

 
release

2.0.4

... problems. Fixed a bug in the results of IS [NOT] NULL queries. Fixed a bug in ObjectDB Doctor. ...

 
issue

DISTINCT key causing internal exception on 2.6.4.b10

I observed that on new ObjectDb v.2.6.4.b10 query below causes internal exception SELECT DISTINCT $1 FROM Pa3DictionaryItem $2 JOIN $2.values $1 WHERE ($2.namespace == 'com.anritsu.pa3.ttcn3' AND $2.key == 'TliEvent' AND $1 != '') Query above also worked fine on ObjectDb version 2.6.1.b06 ... it's worked on prev ObjectDb releases, the problems not in '', just remove DISTINCT and you will see no problems with this ...

 
forum_thread

errors on repair

we are using version 2.6.7. On running the doctor we have message like free page list broken ... unexpected total page count ... what could be the reason for this ?   ... the doctor after ending our application - we do not do any copy or move of the database file - we use Java 1.8.0_77 ...

 
manual

SSL Configuration

Explains how to set Secure Socket Layer (SSL) in the ObjectDB fast Java object database for JPA/JDO.... handshaking that it is connected to the real server and not to another server in the way that is pretending to be the real server ...

 
forum_thread

Some technical questions

Hi, ObjectDB looks interesting. Have two technical questions... (1) what locking model does ObjectDB use? I.e. 2PL or MVCC? Do writers block readers? Do readers block writers? (2) what's the recommended usage for SAAS? One ObjectDB database per customer, or one ObjectDB database for all? Thank you, Andrej ... fetch this object without blocking? Yes, if it has not been locked with pessimistic WRITE. > , and will it see the old ...