About @Query

forum_thread

Deadlock

Hi, I was playing with our application running on Java 7 and after switching ODB to Java 7 there was deadlock right after first few queries to database. Thread dump is attached to this post. #1 2012-07-31 13:22 Hi, I was playing with our application running on Java 7 and after switching ODB to Java 7 there was dead ...

 
issue

EOFException

Not sure if you'll be able to help with this but I've had an application get into a state where it cannot access anything from the database - queries fail with the following exception: Bug Version: 2.3.3 Priority: Critical Status: Fixed Replies: 2 Type:  Bug ...

 
issue

NPE in server mode

See stack trace below. Unfortunately I just uncovered this in a log check so I dont have any further information surrounding the circumstances. java.lang.NullPointerException at com.objectdb.o.SHN.ai(SHN.java:470) at com.objectdb.o.SHN.K(SHN.java:146) at com.objectdb.o.HND.run(HND.java:133) at java.lang.Thread.run(Thread.java:595) Full log is attached. NB: This occured in version 2-2-9_07 (as this is what we currently use in prod) so may be resolved in the latest version anyway. Bug Version: 2.2.9 Priority: Low Status: Fixed Replies: 1 Type:  Bug ...

 
forum_thread

OptimisticLockException

Ran into this error for the first time (after many years of using odb): Caused by: com.objectdb.o._OptimisticLockException: Optimistic lock failed for object model.UserSession#28 (object has version 2 instead of 3) Also the first time I'm using odb in C/S mode rather than embedded. Also have the Explorer open Questions: a) what is it about? #1 2011-04-28 01:37 Ran into this error for the first time (after many years of using odb): Caused by: com.objectdb.o._Opti ...

 
issue

ObjectDB BIRT Driver Update

The ObjectDB BIRT/ODA driver is an extension of the open source Business Intelligence and Reporting Tools (BIRT) that adds support of ObjectDB as a data source and JPQL as a data set query language. Feature Request Version: 2.6.6 Priority: Normal Status: Active Replies: 2 Type:  Feature Request ...

 
forum_thread

Evaluating ObjectDB for SaaS Application

We are currently evaluating objectdb for our SaaS(multi-tenant) product. It is a data intensive health care product . We would like to know the horizontal scalability options available. #1 2012-10-18 16:32 We are currently evaluating objectdb for our SaaS(multi-tenant) product. It is a data intensive health care produ ...

 
api-jpa

getCorrelatedJoins()

Return the correlated joins of the subquery.(Method of javax.persistence.criteria.Subquery)

 
forum_thread

Running doctor.jar with entity classes in classhpath

Hi, I am wondering how to populate new entity classes to database file, so that I could add new instances of these entities to database through explorer. I tried to run com.objectdb.Doctor with model.jar (my entity classes in it) in classpath but it doesn't work (new entities still dont show up in explorer). Could it be possible to add that kind of feature in next relase ?   I run doctor by executing cmd like : java -cp bin\objectdb.jar;_my_model_.jar com.objectdb.Doctor old_db.db new_db.db #1 2012-12-06 14:33 Hi, I am wondering how to populate new entity classes to database file, so that I could add new instances ...

 
forum_thread

Is there a function of "drop table" or "delete from table"?

Besides the em.remove() one by one, is there a function of "drop table" or "delete from table"? TIA #1 2011-08-16 20:21 Besides the em.remove() one by one, is there a function of "drop table" or "delete from table"? TIA ...

 
forum_thread

@Lob @Basic(fetch = FetchType.LAZY) is loaded when it's not needed

Hello. I have a class Thing that contains OneToMany list of classes Photo. Photo contains  @Lob @Basic(fetch = FetchType.LAZY) private byte[] content; And after some queries with Thing (but without loading content of the photos) I get java.lang.OutOfMemoryError: Java heap space (the server is started with -Xmx4096M). Heap dump shows that there are very much space is used by contents of the photos despite of using fetch = FetchType.LAZY. How can I fix this memory issue? #1 2014-06-10 22:52 Hello. I have a class Thing that contains OneToMany list of classes Photo. Photo contains  @ L ...