About WHERE

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: ... doesn't like when I'm reusing ID, unlike master where everiting is perfect! java.lang.NullPointerException at ...

 
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... ... on the slave; "/usr/test/backend/db/" is the data path and where all the DB's are on the master. I cannot get an EntityManager ...

 
forum_thread

Embedded in JDO metadata not working in objectDB 2.x ?

Hi, I am using JDO access to the database with the persistence defined in package.jdo XML metadata files. In those metadata files I have few persistence-capable classes which had extents in ObjectDB 1 (with an OID for every instance) and all other classes were embedded (so without extent and own OID) in those few peristence-capable ones. Example of JDO metadata: ... the unwanted entity objects? Since I upgraded the schema where these objects are declared as embedded, I do not see them in the Explorer ...

 
forum_thread

ObjectDB without javax.persistence

Hello, what we need to do, that we can use a separate bundle for javax.persistence in a OSGi envoirement. We tried to use the objectdb-jee.jar instead of objectdb.jar. And a separate bundle for javax.persistence that only contains the Java Persistence API. So that the ObjectDB PersistenceProvider get visible for the JavaPersistenceAPI, we have registered the ObjectDB as Buddy. ... for using ObjectDB with some Java EE application servers, where using objectdb.jar causes a class loading conflict. However, separating ...

 
forum_thread

Replaying recorded requests...

Hi, I get the following when ODB starts in embedded mode: Replaying recorded requests... then I get something like 500 lines of recordset information. Here is the relevant part of the config file: Questions: 1) Why am I seeing this if I've set recording enabled to false? 2) I... Chapter 6 of the manual explains where the objectdb.conf configuration file should be located: ...

 
forum_thread

javax.persistence.PersistenceException: No Persistence provider for EntityManager named in Karaf 4.0.7 and OSGi DS test

Hello, I've written a small OSGi Declarative Services application to run in Apache Karaf 4.0.7 to persist an entity into an ObjectDB database. I'm working in C/S model and I have both the ObjectDB server and Karaf running on localhost. When I try to persist the entity I'm getting the  javax.persistence.PersistenceException: No Persistence provider for EntityManager named objectdb://localhost:6136/technolink.odb;user=admin;password=admin exception in the Karaf log. ... a reference to the Factory and not having to worry about where it is coming from. Regards, Alex ...

 
issue

NullPointer when accessing entity field

Hello, following exception occurs when using objectdb: ... detatched... Regarding the batch operations, where we usually do update on many objects and after that commit and close the ...

 
release

2.5.6

... NullPointerException when using AND TRUE in WHERE clause (issue #201). Fixed an exception when accessing an ...

 
forum_thread

zip file or JAR manifest missing

I found the message: Error opening zip file or JAR manifest missing: /E:/projects/ObjectDB/bin/objectdb.jar Some of projects can read the DB, but others can not read or write the DB. ... String sQ2 = "select i from ItemList i where i.taskid=?1 and i.itemname = ?2" ; Query q2 = em. ...

 
forum_thread

Failover from Master to Slave

Good morning! I am interested in ObjectDB for a client project I am currently working on. In order to evaluate your tool I would like to know if your product has the ability to failover from a Master Database to a Slave Database and then recover back to the master when the master comes back online. I don't see any documentation about automatic failover.   Thanks Rich   ... in a Java EE JTA environment without restarting the app? (where all data is taken on app deployment from persistence.xml) ...