About find


ODB tries to create log files inside its own jar on Win7

I sent a demo of an app I've been developing on Linux to some Windows 7 users, and they were unable to run it.  The stack traces they sent me indicated that ODB was trying to create its log files inside objectdb.jar, which was inside the executable jar packaged by Eclipse.  Here's the end of the stack trace: ... packaging method doesn't enable ObjectDB to find the path to its jar, which is required for setting ObjectDB Home ...


Negative snapshot user count exception

I found the following stack trace in my log files; it's cropped up a number of times: ... If you can check the client side logs, and then find the specific query and context on the client side it could help. Maybe ...


JRebel integration feature

#1 2010-05-22 19:11 Feature request: Dynamic class enhancement during development compatible with JRebel. ...


Modifying something with Explorer -> app JPQL with Enum doesn't work anymore

Hi! Scenario: Copy attached DB into localhost ObjectDB server (I'm running 2.5.1_03). Open attached project JavaEE Maven with NetBeans (7.4 beta in my case). Start ObjectDB on localhost as server. Run project on Apache Tomee 1.5.2 standard. Take a look at NetBeans' output to see how many entities are found with field type GOOD. There are 2 ways generate the bug: ... you just don't know yet how to reproduce it, try to find a way to repeat it consistently. Another thing that you can check ...


Server connection management

The server does not appear to release broken connections. My typical development pattern is to keep reloading my war file in tomcat until the permgen space runs out, and then I kill and restart tomcat. After a few days of this, the server stops responding, and I see the following in the server logs: #1 2011-04-06 14:16 The server does not appear to release broken connections. My typical development pattern is to keep reloading my ...


Request clarification of changes to accessor enhancement policy (non-getter prefix instead of getter suffix) AND annotations

In response to the forum posting http://www.objectdb.com/database/forum/994 changes were made to the way enhancement treats getters and setters (property accessors), namely there are no longer enhanced additional getters/setters, because the additional methods now use (since about version 2-6-5) this pattern: __odbHidden_[accessor_name] Instead of this pattern with a suffix (preserving the method as a setter or getter), prior to version 2-6-5: ... method. This is probably the right thing, although we may find in the future that some specific annotations may have to remain with the ...


First query takes 4+ minutes to complete

Hi, we are evaluating ObjectDB 2.5.1_04 in embedded mode hoping to replace SQLite in our application. We observed that in our case it takes on average more than 4 minutes to complete the first SELECT query that we run on the DB which contains about 320,000 records of a single type of object. SQLite in comparison responds within few seconds on average with the same number of records. We hope to receive your recommendation on how to improve this result with this post.   Test System ... basically unusable when we hit the 500,000 mark unless we find a solution to the issue.   Thank you Emil ...



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


ArrayIndexOutOfBoundsException on flush

The following exception was thrown when my app attempted to flush an objectdb database: ...     IExecutionGraph loadedgraph = em.find(ExecutionGraph.class, id);      if(loadedgraph != ... com.objectdb.jpa.EMImpl.find(EMImpl.java:551) at com.objectdb.jpa.EMImpl.find(EMImpl.java:474) at ...


Listing large number of complicated objects with paging.

Hi, For last few hours I was working on a problem with bad performance and memory problems with such a simple query: select prod from Product prod order by prod.id ASC Right now I have 55541 'Product' (attached to this post) entities in database and I'm trying to speed listing them with paging. The problem is, that running code that looks like this: ... fetch hint, but as I understand it will run 50 queries find(Product) while iterating over product list, right?   ...