About WHERE

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

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 ...

 
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) ...

 
forum_thread

Getting sales quantity per country with a query, an idea anyone?

Hi, For the purpose of some charts on a dashboard for our ERP i would like to get the list of countries and the sales quantity for each of them. I am pretty sure it is somehow possible to get that directly from a more or less complex query but i failed to find it; Does any have an idea? The entity (we call it OrderData) contains fields and other entities related to an order, fields we are interrested in are  buyerCountry and orderPrice. ... + "WHERE ord.getPaidTimeD() " ...

 
forum_thread

Dependency from enhanced classes to the objectDB library

Hello, we have a Question to the dependency from enhanced classes (required for license) to the objectDB library.... Please explain exactly in which projects and where this should be done. Three projects are currently with ... then the class loader of the UI is modified. And when or where the changes would make undone? Eclipse ...

 
forum_thread

UserException: Package com.example.model is not found by the enhancer

My program works fine when I run it from Netbeans but as soon as I clean and build and move the dist directory out of the project to a remote location and run it using java -jar example.jar then I get the exception: com.objectdb.o.UserException: Package com.example.model is not found by the enhancer It occurs on this line: com.objectdb.Enhancer.enhance("com.example.model" + ".*"); ... or load main class java Java Result: 1 Also where does the .odb file get stored after building the jar and running it? ...

 
issue

com.objectdb.o.InternalException: java.lang.ArrayIndexOutOfBoundsException: null:

The following error appears under and extended persistence context, and with creation, configuration and wiring code that is known to work perfectly with EclipseLink+Glassfish: SEVERE: Unexpected internal exception ... return null ; } where:     abstract public class ExtRequestCommon ...

 
page

Apache License, Version 2.0, January 2004

... sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such ...