About WHERE

forum_thread

Problem with Criteria Querys

Hi, i am having problems running following code...   ... parameter ( Double. class ) ; q. where ( cb. and ( cb. gt ( d. get ( ... = d. get ( "lon" ) ; q. where ( cb. and ( cb. gt ( lon, ...

 
forum_thread

ObjectDb Supports Clustering of Servers?

Hi,     I am new to ObjectDb. we have a scenario where we deploy the same application in more than one linux (Jobss) servers. In this case user request can go to any server depends on the availability of the servers (This is for load balancing ). As of now we are using Oracle + Hibernate + JPA , as Oracle is shared data there was no problem. ... I am new to ObjectDb. we have a scenario where we deploy the same application in more than one linux (Jobss) servers. ... when i retrieve objects from my local DB it was too fast where as it is taking so much time to connect Linux Object DB. So I ...

 
api-jpa

javax.persistence.criteria.Join

A join to an entity, embeddable, or basic type.(Interface of JPA)

 
issue

Issues with JDO Casting & Full Qualified Names

hi! See this query and the comments about failures. This is really urgent for us because as you've stated, this is the only workaround for now to proper casting AND map KEY access though it isn't working correctly either.. ... HERE query = "SELECT COUNT(e) FROM MyEntity e WHERE ((com.test.F328.EmbeddedB)e.embeddeds.get('test2')).superB = '123'" ; ... "SELECT COUNT(e) FROM MyEntity e " + "WHERE ((com.test.EmbeddedB)e.embeddeds.get('test2')).superB = '123' " ; ...

 
api-jpa

javax.persistence.criteria.MapJoin

The MapJoin interface is the type of the result of joining to a collection over an association or element collection that has been specified as a java.util.Map.(Interface of JPA)

 
forum_thread

ClassCastException of same object type

I have ObjectDB partially working with my project. At the moment it seems to be saving objects and retrieving objects ok in the main project. However, when I make a plugin for the project, the new objects are persisted but not retrieved. I get the following error: java.lang.ClassCastException: org.sportscoring.ssv.xc.core.XCCompetitorCount cannot be cast to org.sportscoring.ssv.xc.core.XCCompetitorCount ... obj); where is ArrayList <XCCompetitorCount> XCCompetitorCounts = new ... To hopefully make it clearer, the following method is where there exception occurs: public  SSVXCObjectParcel load() ...

 
api-jpa

javax.persistence.criteria.Root

A root type in the from clause.(Interface of JPA)

 
api-jpa

javax.persistence.criteria.SetJoin

The SetJoin interface is the type of the result of joining to a collection over an association or element collection that has been specified as a java.util.Set.(Interface of JPA)

 
api-jpa

javax.persistence.criteria.ListJoin

The ListJoin interface is the type of the result of joining to a collection over an association or element collection that has been specified as a java.util.List.(Interface of JPA)

 
api-jpa

javax.persistence.criteria.CollectionJoin

The CollectionJoin interface is the type of the result of joining to a collection over an association or element collection that has been specified as a java.util.Collection.(Interface of JPA)