About time

api-jdo

javax.jdo.PersistenceManager

PersistenceManager is the primary interface for JDO-aware application components.(Interface of JDO)

 
forum_thread

find() delay

Hi, I tried objectdb in following steps: 1, for 1 to 30 {trans.begin(); create typeC o; em.persist(o); trans.commit();} 2, for 1 to 30 {p = em.find(typeC.class, i); print(p)} So simple a test, there is no result in one go; I have to disable step 1 and run again, then Step 2 output the expected results. I tried em.flush(), em.clear(), etc.. that do not work. Any idea? TIA ... "select e from nodes e" will be ok regardless of the first time or the second time. My codes, again, are similar to these: 1. trans = ...

 
forum_thread

Different behavior with persist() and queried instances?

Hi, We have a simple class that by itself contains (among others) a property pointing to a collection: class Bla {  @OneToMany(cascade = CascadeType.ALL) private List<AttributeEntity> metaAttributes = new ArrayList<AttributeEntity>(); } ... shouldn't an object instance persisted the first time with persist() behave *exactly* as if we'd have re-selected it from ... not using the java agent enhancer but maven compile time enhancer but the class itself is enhanced as I can see the odbtracker ...

 
forum_thread

Redeployment in GlassFish - Failed to open file

Hi. I am facing a problem with the redeployment of the application in GlassFish. I can deploy my application in GlassFish for the first time and it works. Once I need to redeploy it after making some changes in the source codes, the following errors come up in the GlassFish Log. It seems that the database file is still in use. I have highlighted the cause by red color. How I can release the database file for redeployment? Every time, I need to stop the server, start it again and redeploy the application. it is very troublesome during development.... I can deploy my application in GlassFish for the first time and it works. Once I need to redeploy it after making some changes in the ... I can release the database file for redeployment? Every time, I need to stop the server, start it again and redeploy the application. ...

 
forum_thread

Soft Reference Object Cache Recommendation

(Trying again.  Last post, ~50 minutes to compose, failed, possibly due to an attachment upload size limit being exceeded before the post attempt.  =(  ) ... The attachment upload reported a failure again.  This time I captured a screenshot.  Looks like the uploaded attachment actually ... - XX :+ UseG1GC - XX : SoftRefLRUPolicyMSPerMB = time It seems that you feel the issue is JVM/soft-reference related ...

 
forum_thread

Recommendation - concurrent access multiple class v

Hi! I've just started to architect a new system, stateless JSON API, which is expected to have very high load and to require more servers for parallel deployments (same app across multiple servers). I am considering using ObjectDB, because of its advantages and easy usage, but I'm afraid that it might get corrupted because the manual says that we must not access ObjectDB with different versions of a class. Let's take the following scenario: ... --- I can't update all 5 of them in the same time, because it must be no downtime for the current system. ... can switch to one active application server for a short time when there is a low load, you can restart that application server, and ...

 
forum_thread

problems using the explorer

we are currently evaluating objectDB. Environment OSX 10.9.2, JavaSE-1.7 Version: Kepler Service Release 2 Build id: 20140224-0627 ObjectDB 2.5.5 Maven project, objectDB relevant sections: ... ...  thanks, time to buy same glasses ... ...

 
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: ...  this seems to take a considerable lenght of time ( approx 4-10 seconds). do you have any suggestions as to how we can ... 100 and 500 meg when this occurs. It doesnt happen all the time but periodically. We do alot of inserts, queries and remove as we use ...

 
issue

NullPointerException in __odbGetNumMember

Hi,   hi, When deleting an entity "Mitglied" -> everything works fine. Trying to delete another one (in a separate transaction) always causes a NullPointer Exception in __odbGetNumMember line 1 of the enhanced Mitglied class. I am unable to replicate it in a simple testcase but it always happens in our implementation. I am posting the stack trace in the hope that it'll help to figure what's going wrong: ... of the same class type.. the one that works at the first time but fails the second time and works third time again so I would doubt that it has to do with ...

 
forum_thread

Index causes increased memory usage

Hello, ... involves _lots_ of database adds over a great period of time, and occasional querying.  No record in our database is ever updated, ... I also took a look at the methods occupying the most CPU time and spotted these after letting it collect data for about 20 minutes: ...