About path

1-10 of 200Refresh
Manual
243

Paths and Types in JPQL and Criteria API

as arguments. Path expressions that navigate from one object to another. Instances of user defined ... . But more often they are used in JPQL path expressions that navigate to values of simple types (number, boolean ... , and they can be used in ordering. Navigation through Path Expressions A path expression always starts
JPA Doc
72

javax.persistence.criteria.Path

javax.persistence.criteria Interface Path Superinterfaces: Expression, Selectionpath from a bound type or collection, and is a "primitive" expression. Since: JPA 2.0 Learn how to use JPA criteria API paths in Chapter 4 of the ObjectDB/JPA
JPA Doc
65

get(attributeName)

Method javax.persistence.criteria.Path Path get(   String attributeName ) Create a path ... the type resulting from the get operation in order to avoid the use of Path variables ... "))); rather than: CriteriaQuery q = cb.createQuery(Person.class); Root p = q.from(Person.class); Path > nicknames = p
JPA Doc
63

get(attribute)

Method javax.persistence.criteria.Path Path get(   SingularAttribute attribute ) Create a path corresponding to the referenced single-valued attribute. Parameters: attribute - single-valued attribute Returns: path corresponding to the referenced attribute Since: JPA 2.0
JPA Doc
63

getModel()

Method javax.persistence.criteria.Path Bindable getModel() Return the bindable object that corresponds to the path expression. Returns: bindable object corresponding to the path Since: JPA 2.0
JPA Doc
63

getParentPath()

Method javax.persistence.criteria.Path Path getParentPath() Return the parent "node" in the path or null if no parent. Returns: parent Since: JPA 2.0
JPA Doc
63

type()

Method javax.persistence.criteria.Path Expression> type() Create an expression corresponding to the type of the path. Returns: expression corresponding to the type of the path Since: JPA 2.0
JPA Doc
62

get(collection)

Method javax.persistence.criteria.Path Expression get(   PluralAttribute collection ) Create a path corresponding to the referenced collection-valued attribute. Parameters: collection - collection-valued attribute Returns: expression corresponding to the referenced attribute Since: JPA 2.0
JPA Doc
62

get(map)

Method javax.persistence.criteria.Path Expression get(   MapAttribute map ) Create a path corresponding to the referenced map-valued attribute. Parameters: map - map-valued attribute Returns: expression corresponding to the referenced attribute Since: JPA 2.0
Manual
46

Strings in JPQL and Criteria Queries

parameters - when string values are assigned as arguments. as path expressions - in navigation ... for a match (usually a path expression) and the right operand is always the pattern (usually a parameter or ... factory methods for building these expressions, as shown in the following examples: // Create path