About type

release

2.5.2

... values in the Explorer. Added logging of type registration . Added error message when using mapped by ... bug in loading reference primary key field of an abstract type. Fixed JDO sequence names to be fully qualified names ...

 
forum_thread

ClassCastException on SELECT NEW ... after UPDATE over Java RMI

Hi, we are using ObjectDB 2.5.4_04 on Linux. Our application, which uses ObjectDb as a DB, exposes a Java RMI interface which allows remote RMI clients to run JPQL queries on the DB. The application internally runs SELECT NEW ... queries. For example: ... Failed to build result of type 'NEW com.arunta.base.db.FileNameDTO(r.id, r.fileName)' (error 783) ... com.objectdb.o.UserException: Failed to build result of type 'NEW com.arunta.base.db.FileNameDTO(r.id, r.fileName)' ...

 
manual

WHERE clause (JPQL / Criteria API)

Explains how to use the WHERE clause in a JPQL query.... JPA interface Type for query expressions. See JavaDoc Reference Page... ... Create a CriteriaQuery object with the specified result type. See JavaDoc Reference Page... ( Country. class ) ... JPA interface A root type in the from clause. See JavaDoc Reference Page... ...

 
api-jdo

javax.jdo.Query

The Query interface allows applications to obtain persistent instances, values, and aggregate data from the data store.(Interface of JDO)

 
release

2.5.3

... values in the Explorer. Added logging of type registration . Added error message when using mapped by ... bug in loading reference primary key field of an abstract type. Fixed JDO sequence names to be fully qualified names ...

 
api-jpa

entity(cls)

Return the metamodel entity type representing the entity.(Method of javax.persistence.metamodel.Metamodel)

 
api-jpa

managedType(cls)

Return the metamodel managed type representing the entity, mapped superclass, or embeddable class.(Method of javax.persistence.metamodel.Metamodel)

 
release

2.5.4

... values in the Explorer. Added logging of type registration . Added error message when using mapped by ... bug in loading reference primary key field of an abstract type. Fixed JDO sequence names to be fully qualified names ...

 
api-jpa

embeddable(cls)

Return the metamodel embeddable type representing the embeddable class.(Method of javax.persistence.metamodel.Metamodel)

 
manual

[ODB1] Chapter 7 - JDOQL Queries

Explains how to use JDOQL, the Java/JDO Query Language.... field in class Person or if the field exists but its type cannot be compared with an int value, a JDOUserException is ... returns a Collection instance, but its declared return type is Object (for future JDO extensions), so casting is required. ...