Home » Search

About expression

41-50 of 200Refresh
Forum
21

TYPE Expression

Hi there! Trying to add a simple type expression with the criteria api like in your sample: cb.equal(e.type(), cb.literal(Country.class)); results in the error: Caused by: com.objectdb.o.UserException: Attempt to store an instance of a non persistable type java.lang.Class at com.objectdb.o.MSG
Issue
20

Issue with TYPE expression in Criteria API

Issue with TYPE expression in Criteria API
JPA Doc
19

javax.persistence.criteria.MapJoin

javax.persistence.criteria Interface MapJoin Superinterfaces: Expression, FetchParentExpression as(Class type) Perform a typecast upon the expression, returning a new expression object. Perform a typecast upon the expression, returning a new
JDO Doc
19

javax.jdo.Query

, cast expression, etc.) a type name must be the name of the candidate class, the name of a class or ... of the subquery candidateCollectionExpression - the candidate collection of the subquery as an expression using ... of the expression in the outer query. If the trimmed expression is the empty String
JPA Doc
18

javax.persistence.criteria.ListJoin

javax.persistence.criteria Interface ListJoin Superinterfaces: Expression, FetchParentExpression as(Class type) Perform a typecast upon the expression, returning a new expression object. Perform a typecast upon the expression, returning a new
JPA Doc
18

javax.persistence.criteria.CriteriaBuilder.Coalesce

javax.persistence.criteria Interface CriteriaBuilder.Coalesce Superinterfaces: Expression, Selection, TupleElement Interface used to build coalesce expressions. A coalesce expression is equivalent to a case expression that returns null if all its arguments evaluate to null
JPA Doc
18

javax.persistence.criteria.Path

javax.persistence.criteria Interface Path Superinterfaces: Expression, Selectionexpression. Since: JPA 2.0 Learn how to use JPA criteria API paths in Chapter 4 of the ObjectDB/JPA ... item. Parameters: name - alias Returns: selection item Since: JPA 2.0 Expression as(Class
JPA Doc
18

javax.persistence.criteria.From

javax.persistence.criteria Interface From Superinterfaces: Expression, FetchParentExpression as(Class type) Perform a typecast upon the expression, returning a new expression object. Perform a typecast upon the expression, returning a new expression object. This method does
JPA Doc
18

javax.persistence.criteria.Join

javax.persistence.criteria Interface Join Superinterfaces: Expression, FetchParentExpression as(Class type) Perform a typecast upon the expression, returning a new expression object. Perform a typecast upon the expression, returning a new
JPA Doc
18

javax.persistence.criteria.PluralJoin

javax.persistence.criteria Interface PluralJoin Superinterfaces: Expression, FetchParent ... . Parameters: name - alias Returns: selection item Since: JPA 2.0 Expression as(Class type) Perform a typecast upon the expression, returning a new expression object. Perform a typecast