About Explorer

forum_thread

persistence.xml classes not respected by ObjectDB

Hi! I have the following persistence.xml. The problem is that ObjectDB loads all the classes in P1 (+ their embeddable classes). P2 is created properly, but P1 gets all entity classes (from P2 also). How can this be avoided, so that both P1 and P2 get just the classes that were specified to each? There is no place in code where P1 tries to access classes from P2, so it makes no sense. #1 2013-08-20 07:48 Hi! I have the following persistence.xml. The problem is that ObjectDB loads all the classes in P1 (+ the ...

 
forum_thread

New to Product & Having An Issue

Greetings ObjectDB Users! I'm new to the product, and I've setup a simple test after reading the tutorial, and I'm running into some issues with queries, specifically querying by primary key.   I have a domain object class Called Department, which has a member of type DomainId.  DomainId has two member fields:  String accountId and String objectId.  The following code shows these two classes.... the Department object in the database with the ObjectDB Explorer, including it's embedded DomainId which is filled out with the random ...

 
forum_thread

Empty query results after JAR creation

Hi, I struggle with a strange issue. I've embedded ObjectDB in a small application to query cases. Within Netbeans everything works fine but when I create a  JAR File and executed via "Java -Jar xyz.jar", I get either empty results or on some cases a "NoResultException" which appears to report the same issue. I've created a small test case (attached zip file) with sample DB to reproduce the issue.  ... That file is probably empty you can check it in the Explorer. > The Size of both DB files is exactly the same ...

 
issue

InternalException - error reading field from "queue" database

I trying to use an objectdb database as a persitent queue but have started getting the following error on the receiver side: ... theres a way i can get it to you. Looking at it in explorer shows a lot of "Broken References" (see screenshot) so I guess the ...   explorer.jpg edit ...

 
forum_thread

Items in list are doubled, when the entity class is not enhanced

Dear all, I have a problem with adding items (entities) into other entity list. When the classes are not enhanced, added items are doubled. Here is an example: #1 2011-06-09 08:24 Dear all, I have a problem with adding items (entities) into other entity list. When the classes are not ...

 
issue

Doctor bug?

Please see the attached .odb file. It was freshly created by my web application, and just very few entries have been posted to the database yet. But still the doctor reports a whole bunch of errors. My application seems to function properly though. I guess this is a bug in the doctor? Using version 2.4.1. I get  ... I tried to browse through the attached database with the Explorer now, and also here everything looks nice and consistent. So really ...

 
issue

InternalException when using MEMBER OF on a large list in a query

Hello, we get when executing a query with MEMBER OF on a large list the following InternalException: Caused by: com.objectdb.o.InternalException: merge2 com.btc.ep.coverage.bl.internal.dmos.CoverageRecordImpl:null => merger[2850057]-missing:223 at com.objectdb.o.PBI.B(PBI.java:124) at com.objectdb.o.PBI.q(PBI.jave:97) at com.objectdb.o.OBI.Vp(OBI.java:244) (... more see attached Image) Our query looks like this: ... I reproduced the exception by execute the Query in the explorer. Also with the outcome of the Doctor in repair mode. But after ...

 
forum_thread

java.nio.channels.OverlappingFileLockException

Hello, whenever I re-deploy my web application in Sun Java System Web Server, I get the following exception and the application cannot run anymore. Any clue what I am doing wrong?  I use the file-based db access (local to the web app, as described in your tutorial). Thanks for pointers! Best, Benjamin   ... is not open by another process - e.g. the ObjectDB Explorer. If the database is not in use by another user you may want to ...

 
forum_thread

java.lang.NullPointerException when using ORDER BY

We are using ObjectDB 2.5.1_04. The following query causes an internal null pointer exception: SELECT r FROM RecordingMetaData AS r WHERE ((r.mapToCli != '192.168.10.200:9085' AND r.callDirection == 0)) ORDER BY r.startDateTime DESC If we remove the ORDER BY part, the query completes OK and returns the records from the DB, but obviously not in order. Here is the stack trace of the exception: ... Here is the stack trace as printed by your DB explorer tool when running the query:   [ObjectDB 2.5.4_03] ...

 
forum_thread

Persist error @ManyToMany how to define correct entities relationships

I have Product entities containing a list of Category enties. Each product can have multiple Category but all sue the same limited set of Category entities. There is not changes made to Category from Product. The category ID is taken from the webservice Object ID (unique too). ... they were embeddable entities) i added screenshot of the explorer   package testodb ;   import java. ...