About SET

forum_thread

Level 2 cache not hit in @ManyToOne

Hi! I have 2 entities: User and Item, both @Cacheable. Item has @ManyToOne private User user. Level 2 JPA cache is activated and it works ok for find by id (tested by changing data in explorer and reading in my app). Problem 1: find by id on Item it's good, it hits the cache, but not for its field "user". "user" is loaded each time from the DB (tested by changing data in explorer and reading in my app). "user" should also be taken from L2 cache, shouldn't it? Otherwise...it's a huge performance hit. #1 2013-07-26 10:56 Hi! I have 2 entities: User and Item, both @Cacheable. Item has @ManyToOne private User user. Level 2 JPA ...

 
forum_thread

Connection is closed (error 526)

Serval times I found the c/s method will close by unknown reason, when I read only the db. ... ( Thread. java : 662 ) If I set "-Xmx1400m", then the query test will OK. Institute of ...

 
release

2.1.1

Release date: 2011-03-10 Download (3.89 MB) Binary:  objectdb-2.1.1.zip You should start by following a  tutorial or reading the manual ...

 
issue

InternalException during EntityManager.find()

Hello, we got following exception (ObjectDB version 2.7.1.b03). Can you explain what was happened? Bug Version: 2.7.1 Priority: High Status: Fixed Replies: 1 Type:  Bug ...

 
forum_thread

Bug: ClassCastException by retrieval

Hi, when a generic array put into ObjectDB, its type changed to Object[]! codes: #1 2011-07-19 13:10 Hi, when a generic array put into ObjectDB, its type changed to Object[]! codes: package test ...

 
release

2.1.0

Release date: 2011-02-23 Download (3.89 MB) Binary:  objectdb-2.1.0.zip You should start by following a  tutorial or reading the manual ...

 
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

lockfiles in client/server mode

i have an objectdb server running on localhost as user "objectdb", spawned like so: java -server -cp /usr/local/share/objectdb/objectdb.jar: com.objectdb.Server -conf /etc/objectdb/objectdb.conf start it has naturally created and taken ownership of /tmp/ObjectDB. #1 2012-04-05 21:36 i have an objectdb server running on localhost as user "objectdb", spawned like so: java -server ...

 
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. ... are the sizes of strings in that object and what character set is used? Maybe there is a bug in writing specific type of characters. ...

 
issue

InternalException when querying indexed field using a list that contains duplicates

ObjectDB is throwing an InternalException in JdoQuery: ... An easy workaround is to copy the list values into a set and then pass that to Query.execute() instead. ...