About main

forum_thread

Searching lists within objects

Hi everyone,  I've a problem with searching on lists. I'm uncertain as to what the best form is, so I've created a maven project with all the classes and a unit test showing my issue. Pretty much I want to search using cb.isMember passing an object. This however does NOT work. I'm uncertain how the database is doing its matching, but it looks to me like it matches using objectids, which means you can only match isMember if you have a database object. This does not help as I'm never going to have the real object at search time. ... . internal . junit . runner . RemoteTestRunner . main ( RemoteTestRunner. java : 197 ) ...

 
release

2.5.1

... to TRACE  ( issue #88 ). Changed main configuration elements from required to optional. Fixed the ...

 
forum_thread

evictAll() behavior

I'm writing a multi-user drawing tool, using objectdb as the central store.  When a user press F5, I want to pick up all the changes from the database.  So, I call evictAll() in the following ways: pmf.getDataStoreCache().evictAll();  // the factory pm.evictAll();                                 // the persistence manager A couple of questions about this: 1. the first evictAll() seems to be clearing the L2 cache -- is this correct 2. the evicts only work when they are done inside a transaction -- is this specified in the JDO spec?... and there is a result OBJECTDB OUTPUT: main--testDbProvisioning Cache size before COMMIT/BEGIN= 1 transient ... = 2630   VERSANT OUTPUT: main--testDbProvisioning Cache size before COMMIT/BEGIN = 280 ...

 
forum_thread

Unexpected internal exception during set field of an Embeddable to null

Hello, we get an Unexpected internal exception and have no idea what goes wrong. We can reproduce (mostly) the error in a very big use case. In the big use case and we create and persist millions of SignalValueImpl objects (Embeddables). Partly as in the stack trace an Embeddable contain another Embeddable. It seems like that we can't reproduce the problem in smaller use cases with less objects. Stack trace: ... the example.  The Reproduce class contains the main(). Its not a OneLine-Example, because it was easier to enhance the ...

 
release

2.5.0

... to TRACE  ( issue #88 ). Changed main configuration elements from required to optional. Fixed the ...

 
forum_thread

ClassCastException on SELECT NEW ... after UPDATE over Java RMI

Hi, we are using ObjectDB 2.5.4_04 on Linux. Our application, which uses ObjectDb as a DB, exposes a Java RMI interface which allows remote RMI clients to run JPQL queries on the DB. The application internally runs SELECT NEW ... queries. For example: ... F776 {   public static void main ( String [ ] args ) {   ...

 
forum_thread

Externalising persistence.xml properties in Glassfish?

Hi, ... the pool). The only difference is that I have to modify my main persistence unit in persistence.xml which point to my shared object db ...

 
release

2.4.6

... to TRACE  ( issue #88 ). Changed main configuration elements from required to optional. Fixed the ...

 
release

2.4.7

... to TRACE  ( issue #88 ). Changed main configuration elements from required to optional. Fixed the ...

 
forum_thread

Replication error - parsing objectdb config

I'm trying to replicate a database using the following config: <server>   <connection port="6136" max="100" />   <data path="$objectdb/db-files" />   <replication url="objectdb://localhost:6126/DEV1/NewMessagePipe.odb;user=admin;password=admin" /> </server> ... org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196) Caused by: com.objectdb.o.UserException: ...