About create

forum_thread

Selective merge/cascade of detatched entity

I'm having an issue with my application, and I'm hoping you guys will be able to help. Please forgive typos and obvious errors, I'm having to retype from a non-internet connected network. A contrived example is: #1 2012-11-16 15:20 I'm having an issue with my application, and I'm hoping you guys will be able to help. Please forgive typ ...

 
forum_thread

InternalError on multiple AND and JOIN Query

Hi, Using objectdb 2.2.8_06. Running the following query: SELECT DISTINCT $1 FROM CDI $1 JOIN $1.contactDetails $2 JOIN $2.addresses $3 JOIN $3.attributeList $4 JOIN $2.phoneNumbers $5 JOIN $5.attributeList $6 WHERE ((($4.name='suburb') AND ($4.valueAsString='Los Angeles')) AND (($6.name='areacode') AND ($6.valueAsString='310'))) Getting: #1 2011-07-22 01:36 Hi, Using objectdb 2.2.8_06. Running the following query: SELECT DISTINCT $1 FROM CDI $1 JOIN $1. ...

 
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 Bug Version: 2.4.4 Priority: High Status: Fixed Replies: 1 Type:  Bug ...

 
issue

[ObjectDB 2.5.6_05] Unexpected exception (Error 990)

[2014-08-24 10:49:32 #33 server] [ObjectDB 2.5.6_05] Unexpected exception (Error 990)   Generated by Java HotSpot(TM) 64-Bit Server VM 1.6.0_25 (on Windows 2003 5.2). Please report this error on http://www.objectdb.com/database/issue/new com.objectdb.o.InternalException: java.lang.OutOfMemoryError: Java heap space java.lang.OutOfMemoryError: Java heap space at com.objectdb.o.PAG.<init>(PAG.java:175) at com.objectdb.o.PGC.x(PGC.java:277) at com.objectdb.o.SSS.Y(SSS.java:493) Bug Version: 2.5.6 Priority: High Status: Closed Replies: 1 Type:  Bug ...

 
forum_thread

Collection update does not increase entity version and is not persisted

Hello, I found a bug when adding elements to a collection of Entities: Event { Collection<Attachment> attachments; void addAttachment(Attachment attachment) { this.attachments.add(attachment); } } Attachment { String filename } If I call this method (all classes are enhanced) the version of the event does not increase and the updated event is not stored in the database (retrieve the event shows that the attachments field is still empty). #1 2017-12-13 10:57 Hello, I found a bug when adding elements to a collection of Entities: Event { Collec ...

 
forum_thread

evictAll() behavior

I'm writing a multi-user drawing tool, using objectdb as the central store.  When a user press F5, I want to pick up all the changes from the database.  So, I call evictAll() in the following ways: pmf.getDataStoreCache().evictAll();  // the factory pm.evictAll();                                 // the persistence manager A couple of questions about this: 1. the first evictAll() seems to be clearing the L2 cache -- is this correct 2. the evicts only work when they are done inside a transaction -- is this specified in the JDO spec? #1 2010-12-08 23:57 I'm writing a multi-user drawing tool, using objectdb as the central store.  When a user press F5, I want to ...

 
forum_thread

Error when I switch to server mode

I was previously using embedded mode without any problem.  Today I tried to switch to server mode, and after connecting and doing some db operations I got this: #1 2011-01-26 08:31 I was previously using embedded mode without any problem.  Today I tried to switch to server mode, and after ...

 
release

2.5.1

Release date: 2013-05-30 Download (5.43 MB) Binary:  objectdb-2.5.1.zip You should start by following a  tutorial or reading the manual ...

 
issue

Update query bug

Some code. Problem in UPDATE query.   Bug Version: 2.4.4 Priority: Normal Status: Fixed Replies: 1 Type:  Bug ...

 
issue

[ObjectDB 2.6.7_04] Unexpected exception (Error 990)

Since Version 2.6.7_04 we get the following NullPointerException at Query execution: Bug Version: Priority: High Status: Fixed Replies: 2 Type:  Bug ...