About type

api-jpa

function(name, type, args)

Create an expression for the execution of a database function.(Method of javax.persistence.criteria.CriteriaBuilder)

 
release

2.5.6

... Fixed a bug of  unexpected change of primary key type  in UPDATE queries. Fixed some bugs in converting old ... Fixed an error message in accessing a field of an unknown type in queries ( issue #226 ). Version 2.5.5 ...

 
release

2.5.1

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

 
api-jpa

get(alias, type)

Get the value of the tuple element to which the specified alias has been assigned.(Method of javax.persistence.Tuple)

 
api-jpa

javax.persistence.criteria.Fetch

Represents a join-fetched association or attribute.(Interface of JPA)

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

 
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)