About entities

forum_thread

NullpointerException when execute a merge

How can we analyze the cause of an "Unexpected internal exception"?   We create an object tree that is persisted with "merge()". Then we want to persist “merge()” an new object of a different type.   [we use ObjectDb 2.6.0_3] #1 2015-02-11 09:54 How can we analyze the cause of an "Unexpected internal exception"?   We create an object tr ...

 
forum_thread

Eclipse/JPA database tutorial

Hello Sir/Madam, I followed all the steps correctly as given in the tutorial. But when i run it , I'm getting an error saying, the resource not available. Please help regarding the issue as soon as possible. Thank you. #1 2012-09-16 07:20 Hello Sir/Madam, I followed all the steps correctly as given in the tutorial. But when i run it , ...

 
forum_thread

Time Sequence Object Command DB

We (www.s2ssystems.com) have a time-sequential object command database.  I would like to see if it can be built and run efficiently on ObjectDB.   The requirements that drive the design of this database are: #1 2012-02-15 19:19 We (www.s2ssystems.com) have a time-sequential object command database.  I would like to see if it can be bu ...

 
forum_thread

find repeated records by JPQL

Hi, I know a single command in MySQL can find repeated records: Select * from TTT t where id in (select id from TTT s group id having count(id)>1) I dont know how to do this using JPQL, but I use query from 430,000 records and put them into hashmap, finally it cost one hour and failed: #1 2011-08-18 14:09 Hi, I know a single command in MySQL can find repeated records: SELECT * FROM TTT t WHERE ...

 
forum_thread

Where Does ObjectDB Block/Lock?

These are questions asked in the context of the proposed architecture described in the forum thread titled, "Sample JDO Architecture for Follow Up Questions".   Questions about blocking/locking.  With my PersistenceManager multiThreaded=true architecture, I desire to know where ObjectDB is actually blocking/locking so I might adapt to achieve better concurrency. 1) Where are locks when accessing PersistenceManager by multiple threads? 2) Does it lock at PersistenceManager.currentTransaction()? #1 2016-07-25 15:41 These are questions asked in the context of the proposed architecture described in the forum thread titled, "Samp ...

 
forum_thread

InternalException & UserException using objectdb with Jboss AS 7.1.1 final

Hello. We are currently using ObjectDB in application server Jboss as 7.1.1.final. ObjectDB version is 2.5.3_02. The following errors occur when multiple ajax requests are executed: Caused by: com.objectdb.o.InternalException: Error reading UTF string Caused by: com.objectdb.o.UserException: Mismatch client-server protocol prefix Our current settings: Persistence.xml: #1 2013-10-08 10:48 Hello. We are currently using ObjectDB in application server Jboss as 7.1.1.final. ObjectDB version is 2. ...

 
issue

Server NPE

I'm getting the following NPE when attempting to persist an object to a server based database: Bug Version: 2.3.3 Priority: Normal Status: Closed Replies: 3 Type:  Bug ...

 
issue

NullPointerException on initial database creation

I'm getting the following exception on initial creation of a database.  There's no indication as to what's wrong and there's nothing in the log.   Bug Version: Priority: Normal Status: Active Replies: 2 Type:  Bug ...

 
forum_thread

@ElementCollection Set<Integer> is emptied sometimes

Hi! I'm facing a really strange behavior, which I can't yet reproduce, but it happened 3-4 times already. ObjectDB seems to clear some fields that are @ElementCollection Set<Integer> of my objects. They appear HashSet<Integer> in ObjectDB Explorer. The only common thing I've seen is that this MAY happen when schema changes, even though nothing is changed in that Object's class. Any ideas why would this happen and how could it be avoided? Thanks (version 2.5.3 & Tomee & NetBeans) #1 2013-09-13 08:10 Hi! I'm facing a really strange behavior, which I can't yet reproduce, but it happened 3-4 times ...

 
issue

Unexpected Exception during commit

I'm testing code that otherwise has been working with a clean database. I have seen several examples of the following exception. It never seems to happen in the same place twice, though. If you can give me a hint as to what would internally cause this, I'll try to reproduce it. Carl   ... in type Player (mapped by field com.fastmodel.fastplan.entities.Account.players) at ... Is that true? In cases where I have a large number of entities that are not used as a collection, I assumed a mappedBy relationship ... mappedBy is it gives me bi-directional navigation of my entities, even though I am only managing a reference on one side. If I used a ...