About query

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. ... The stack trace indicates an attempt to run a query in client-server mode after the initial connection to the server has ...

 
forum_thread

member visiting in jpql

baURI is a byte[]; JP QL> select e.baURI.length from URI e where id=82778 JP QL> [ObjectDB 2.2.9_04] javax.persistence.PersistenceException Navigation from 'byte[]' through 'length' is invalid (error 763) at com.objectdb.jpa.JpaQuery.getResultList(JpaQuery.java:636) at util.JPQLcmd.QureyCMD(JPQLcmd.java:43) at util.JPQLcmd.main(JPQLcmd.java:28) Why I can not visit the length attribute? TIA #1 2011-08-25 14:20 baURI is a byte [ ] ; JP QL> select e. baURI . length from URI e where id = ...

 
api-jpa

getJoins()

Return the joins that have been made from this bound type.(Method of javax.persistence.criteria.From)

 
api-jdo

Query.fetchPlan

The name of the fetch plan used by this query(Annotation Element of javax.jdo.annotations.Query)

 
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 ... explorer.jar In the Explorer execute a query on the class, using full class name: SELECT e FROM ...

 
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 ... You can execute a DELETE query: em. createQuery ( "DELETE FROM MyEntity e" ... Thanks. I never think it is "executeUpdate()", query.getresultlist() cause exceptions. Yes, you'd better to put it ...

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