About named queries

issue

Navigation through lazy loading from Detached Objects

A main limitation of detached objects (as explained on the Detached Entities manual page) is: ... We do not want to write 1000s of dedicated projection queries  and/or fetch joins that can preempty data that will be ...

 
forum_thread

internal object DB locking in an embedded multi threaded application

Hi, we are using Embeded objectDB 2.4.4_06 in a highly multithreaded concurrent manner and we have noticed a performance problem in our application that seems to be attributed to ObjectDb's internal locking. When profiling our app in JVisualVm we notice a large number of threads are blocked and when doing a threaddump we notice that they are all blocked in the same place: ... all the time but periodically. We do alot of inserts, queries and remove as we use objectdb to drive a persistent queue. ...

 
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: ... state where it cannot access anything from the database - queries fail with the following exception: [ObjectDB 2.3.3_06] ...

 
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. #1 2011-07-01 11:32 Serval times I found the c/s method will close by unknown reason, when I read only the db. Exception in th ...

 
forum_thread

@Convert is not supported?

Does objectdb jpa implementation support @Convert annotation? (convertion of property before persistance and vice versa)   for example @Convert(converter = MyConverter.class) private Date date;   I've wrote a test on this, and seems that my Converters methods are not executed at all (like annotation doesent exist) ... of using it in an object database? Do you need it for queries? for any other reason? We may support this feature, although it ...

 
forum_thread

Activation key causes database to not start

We had ObjectDB version 2.5.7_06, then we bought a server license, then we activated it today. We get an error when trying to start ObjectDB after adding activation in objectdb.conf. We initially thought it's because it was an old version, so we upgraded to 2.6.5_04, but without success. We still cannot start ObjectDB if we add the activation key in objectdb.conf. This is the ObjectDB log we get when trying to start ObjectDB with the license. What is to be done? Thank you. :) #1 2016-01-16 12:01 We had ObjectDB version 2.5.7_06, then we bought a server license, then we activated it today. We get an ...

 
issue

Internal Exception and Index Problems

Dear Support Team, we have an urgent issue in a productive database. The objectdb doctor finds no error but one string field of one database item is not editable (even not using the objectdb explorer). The corrupt entry is in entity "UserModelData" with id="7d29d5eb-69a6-4d46-9bf1-802cbb6e439b". Try to change the userName attribute of this entry then the following error occurs: ... server when we access the corrupted database. Some queries just don't give any result if they access a not synchronized field ...

 
forum_thread

ObjectDB shuts down

Hi, we have a problem with OBjectDB shuts down every few days, sometimes every day. It always happens in the morning ie. after several hours of inactivity although we are not sure if this is the reason. Last night we maintained constant activity during the whole night (user were frequently using the application) and DB was OK. ... CentOS. Measurment was done while runing few hundreds queries and the whole database is arround 10-15MB. Not sure this is the ...

 
forum_thread

Sample JDO Architecture for Follow Up Questions

I am trying to finalize on my application's JDO and ObjectDB archieture.  I have done documentation survey (reading JDO books, studying ObjectDB's documents and forum) and have designed what I think is the best architecture for my particular application usage model. ... may be all that is needed, so no overhead for extend, queries, or indexes. * Persisted instances mainly contain arrays (or ...

 
forum_thread

Bulk Delete and Update - best practice?

The attached test creates 1000 large objects and then attempts to delete them all in one go using a DELETE statement. I'm trying to run with -Xmx512m but the test runs out of memory during the delete. The attachment also contains an update test which has similar memory problems. I'm running both tests with the default objectdb.conf. In general is an UPDATE/DELETE statement the most efficient way to update/remove a large number of objects? ... releases, but even then, using smaller UPDATE / DELETE queries, of about 20MB-30MB each, would be more efficient. drop in the ...