About SET

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. #1 2011-07-07 00:59 Hi everyone,  I've a problem with searching on lists. I'm uncertain as to what the best form ...

 
forum_thread

locks on pure query activities

analyzing the dynamic behavior we can see from the thread dump that a lot of our threads that are just doing simple queries show locks like these (question is: why there are locks and how could we get rid of that):   log1:   ... file. To enable the new option you have to set an environment variable before accessing ObjectDB: System. ...

 
forum_thread

Replication error on slave restart

I'm trying to enable replication on master server that was running with "recovery" enabled previously. I have copied database file to slave... and so on by manual. It worked fine. But if I restart slave server: #1 2014-03-01 15:53 I'm trying to enable replication on master server that was running with "recovery" enabled previously. ...

 
forum_thread

newbie - lots of exeptions

Hi  I'm very new to objectdb . I have bought a server and really want to use it. Our code works well with eclipselink and postgresql - until we stress it which is why I'm trying to get objected to work.   realy wierd things are going on ... we are using hessian to connect our remote clients to glass fish and invoke methods there (fine with postgresql) . here is our log (part of it at least .... exceptions are happening all the time when we're working with objected). ... by: java.lang.IllegalArgumentException: Can not set java.lang.String field ...

 
forum_thread

Cast exception?

Somehow I am unable to persist an entity class I wrote with manual @Id. I have a small Player class and I wish to store it with user ID as the primary key. So I declared the (only) primary key field as: @Id public int uid; This is how I'm persisting the instance: ... is not the same as  java.net.URLClassLoader@*** , set it before first access to ObjectDB: Thread. currentThread ...

 
forum_thread

Query becomes slower on moving from ObjectDB 1.x to ObjectDB 2.x

Hi, I upgraded the odb file using converter.jar which is having 15943 entry. Previously, with object 1.x, the same query was getting executed within an seconds and now the same is taking around 40 seconds in object db 2.x I have build the query using the follwoing Query query = persistanceManager.newQuery("LogEntryAttrebuteImpl.calss", "typeIndexes.contains(this.type) && logEntryIdList.contains(this.logEntryId)"); #1 2012-09-07 15:06 Hi, I upgraded the odb file using converter.jar which is having 15943 entry. Previously, with object 1.x, ...

 
issue

Threaded Test - Failed to commit transaction: Unexpected internal exception

Hi I'm trying to create a simple producer-consumer queue scenario but am getting the followin exception: Bug Version: 2.2.7 Priority: Normal Status: Fixed Replies: 16 Type:  Bug ...

 
forum_thread

Replication issue, Replayer failing due to NullPointerException.

I'm getting replication errors and upon trying to play the replayer I get a NullPointerException which i'm also seeing in the slave logs when it's trying to replicate... ... all DB's, this also seems like a bug. I have recording set to write only.   ...

 
manual

[ODB1] Chapter 4 - JDO Metadata

Shows how to define JDO metadata for persistence capable classes. A JDO metadata file is an XML file with a '.jdo' suffix, containing information about one or more persistent classes. All the persistent classes, and only them, have to be declared in a metadata file. The metadata is used first by the JDO Enhancer, and ...

 
forum_thread

ODB IndexActivation NullPointerException

Hi, We have created indexes on an existing database, which has 4.3 million objects. As soon we create first query, NullPointerException is thrown: ... Thread indexActivationThread = null ;   Set<Thread> threadSet = Thread. getAllStackTraces ( ) ...