About between

forum_thread

NegativeArraySizeException on commiting a transaction

Hi, we started to get a java.lang.NegativeArraySizeException from ObjectDB upon changing an object in the DB and committing the transaction. I tried to repair the DB file with Database Doctor, but the same error is happening also on the fixed DB file. Btw. during fixing the DB file an Internal error was thrown (details here: http://www.objectdb.com/database/issue/285 ), but the fixing went on and created a new file. ... in this entity object please explain the relationships between the involved classes.  ObjectDB Support ...

 
forum_thread

Efficient query on EmbeddedId

Hi! I have an entity class with an @EmbeddedId (field1 int and field2 int). Based on the manual, I understand that making a query just on entity.id.field1 is efficient. Of course, making a query containing the whole EmbeddedId is the ideal case, and I use it, but I need more use cases. ... indexes: is there any insert/query performance difference between defining an index on a primitive field or on an @Entity field? ...

 
release

2.6.9

... Fixed very slow processing of a composite BETWEEN query. Fixed NullPointerException when using AND ... than 2GB. Fixed a bug in running queries between flush and commit. Fixed a deadlock ( issue #62 ). ...

 
forum_thread

OneToMany and cascade delete problem

Hi, I don't really know if this is a bug or maybe model that I make is bad. I have a problem with with two different classes with OneToMany relation to one, shared class. For example (first class): @Entity public static class Store { @OneToMany(targetEntity = Offer.class, mappedBy = "store") private List<Offer> offers; } second class: ... only in Store and Product . In the relationship between Store and Product - Store is the owner. Therefore, you must ...

 
release

2.6.8

... Fixed very slow processing of a composite BETWEEN query. Fixed NullPointerException when using AND ... than 2GB. Fixed a bug in running queries between flush and commit. Fixed a deadlock ( issue #62 ). ...

 
forum_thread

Different behavior with persist() and queried instances?

Hi, We have a simple class that by itself contains (among others) a property pointing to a collection: class Bla {  @OneToMany(cascade = CascadeType.ALL) private List<AttributeEntity> metaAttributes = new ArrayList<AttributeEntity>(); } ... I do close the entity manager so my object gets detached. Between the persist() and the commit() call, my list property seems to be ...

 
page

ObjectDB Object Database Features

ObjectDB provides a rich set of features, many of them as the result of supporting the JPA and JDO APIs.... operators (<, <=, >=, <>, =, !=, ==, BETWEEN, IS NULL). Logical operators ... Tree view for navigating between entity objects. ...

 
forum_thread

ObjectDb Supports Clustering of Servers?

Hi,     I am new to ObjectDb. we have a scenario where we deploy the same application in more than one linux (Jobss) servers. In this case user request can go to any server depends on the availability of the servers (This is for load balancing ). As of now we are using Oracle + Hibernate + JPA , as Oracle is shared data there was no problem. ... If you experience a large performance gap between local / remote databases, this may indicate that your application uses ...

 
forum_thread

DB Explorer and Doctor unable to open DB file

Hi, one of my DB files can not be open by neither DB explorer, nor the DB Doctor. Both are writing same mistake : ... 09:55 The difference between your application and the Explorer/Doctor is that your application has ...

 
release

2.6.7

... Fixed very slow processing of a composite BETWEEN query. Fixed NullPointerException when using AND ... than 2GB. Fixed a bug in running queries between flush and commit. Fixed a deadlock ( issue #62 ). ...