Internal Website Search
1-50 of 200 resultsFROM clause (JPQL / Criteria API), a full iteration over the Cartesian product is avoided. [INNER] JOIN As discussed above, range ... an additional type of identification variable, a join variable, which represent a more limited iteration over specified collections of objects. The following query uses one range variable and one join | |
javax.persistence.criteria.Join JPA Interface Join Type Parameters: - the source type of the join - the target type of the join A join to an entity, embeddable, or basic type. Since: JPA 2.0 The FROM clause (JPQL / Criteria API) article explains how to use Join . Public Methods Attribute getAttribute () Return the metamodel | |
Paths and Types in JPQL and Criteria API the equivalent JOIN query. Entity Type Expressions The TYPE operator (which is new in JPA 2) returns the type ... its subinterfaces ( From , Root , Join and Join 's descendants). Path Expressions The Root and Join interfaces ... Variable Paths: Root country = query. from (Country.class); Join neighborCountry = country. join | |
ObjectDB Object Database Features ( composite ) indices. Collection and array elements are indexable (extremely fast JOIN queries ... optimizations. Configurable JPA eager/lazy fetch and JPA query FETCH JOIN . Configurable JDO fetch ... , max) - for paging. Query Structure SELECT (including NEW ). FROM (including INNER JOIN , LEFT OUTER | |
From | |
CriteriaBuilder.treat(join,type) - JPA Method JPA Method in javax.persistence.criteria.CriteriaBuilder Join treat ( Join join , Class type ) Downcast Join object to the specified type. Parameters: join - Join object type - type to be downcast to Return: Join object of the specified type Since: JPA 2.1 | |
From | |
From | |
From | |
From | |
From | |
Criteria Query From Elements variables (bound by an entity class) are represented by the Root subinterface: Join variables (bound by an attribute of a preceding variable in the FROM clause) are represented by the Join subinterface ... and examples. Join Fetch Elements Join Fetch is managed in criteria queries by the following interfaces | |
From | |
Join.on(restrictions) - JPA Method JPA Method in javax.persistence.criteria. Join Join on ( Predicate... restrictions ) Modify the join to restrict the result according to the specified ON condition and return the join object. Replaces the previous ON condition, if any. Parameters: restrictions - zero or | |
Join.on(restriction) - JPA Method JPA Method in javax.persistence.criteria. Join Join on ( Expression restriction ) Modify the join to restrict the result according to the specified ON condition and return the join ... boolean expression Return: the modified join object Since: JPA 2.1 | |
From | |
From | |
From | |
From | |
From | |
Join.getAttribute() - JPA Method JPA Method in javax.persistence.criteria. Join Attribute getAttribute () Return the metamodel attribute corresponding to the join . Return: metamodel attribute corresponding to the join Since: JPA 2.0 | |
Join.getParent() - JPA Method JPA Method in javax.persistence.criteria. Join From getParent () Return the parent of the join . Return: join parent Since: JPA 2.0 | |
Join.getJoinType() - JPA Method JPA Method in javax.persistence.criteria. Join JoinType getJoinType () Return the join type. Return: join type Since: JPA 2.0 | |
CriteriaBuilder.treat(join,type) - JPA Method JPA Method in javax.persistence.criteria.CriteriaBuilder MapJoin treat ( MapJoin join , Class type ) Downcast MapJoin object to the specified type. Parameters: join - MapJoin object type - type to be downcast to Return: MapJoin object of the specified type Since: JPA 2.1 | |
CriteriaBuilder.treat(join,type) - JPA Method JPA Method in javax.persistence.criteria.CriteriaBuilder ListJoin treat ( ListJoin join , Class type ) Downcast ListJoin object to the specified type. Parameters: join - ListJoin object type - type to be downcast to Return: ListJoin object of the specified type Since: JPA 2.1 | |
Join.getOn() - JPA Method JPA Method in javax.persistence.criteria. Join Predicate getOn () Return the predicate that corresponds to the ON restriction(s) on the join , or null if no ON condition has been specified. Return: the ON restriction predicate Since: JPA 2.1 | |
CriteriaBuilder.treat(join,type) - JPA Method JPA Method in javax.persistence.criteria.CriteriaBuilder SetJoin treat ( SetJoin join , Class type ) Downcast SetJoin object to the specified type. Parameters: join - SetJoin object type - type to be downcast to Return: SetJoin object of the specified type Since: JPA 2.1 | |
CriteriaBuilder.treat(join,type) - JPA Method JPA Method in javax.persistence.criteria.CriteriaBuilder CollectionJoin treat ( CollectionJoin join , Class type ) Downcast CollectionJoin object to the specified type. Parameters: join - CollectionJoin object type - type to be downcast to Return: CollectionJoin object of the specified type Since: JPA 2.1 | |
javax.persistence.InheritanceType.JOINED JPA Enum Constant in javax.persistence.InheritanceType JOINED A strategy in which fields that are specific to a subclass are mapped to a separate table than the fields that are common to the parent class, and a join is performed to instantiate the subclass. Since: JPA 1.0 | |
javax.persistence.criteria.From to an entity in the from clause. Serves as a factory for Joins of associations, embeddables, and collections ... Methods Fetch fetch ( PluralAttribute attribute) Create a fetch join to the specified collection-valued attribute using an inner join . Parameters: attribute - target of the join Return: the resulting | |
SELECT clause (JPQL / Criteria API) in the results directly, but their content can be added to the SELECT clause by using a bound JOIN | |
JPA Query Structure (JPQL / Criteria) , multiselect , array , tuple , construct ). Criteria FROM ( from , join , fetch ). Criteria WHERE   | |
JPA Queries elements (representing range variables, join and fetch): Other criteria query expressions (for all the query clauses): | |
javax.jdo.annotations.Join JDO Annotation Join Target: ElementType.TYPE, ElementType.FIELD, ElementType.METHOD Implemented Interfaces: Annotation Annotation for the join of a relation. Corresponds to the xml element " join ". Since: JDO 2.1 Public Annotation Attributes String column default "" Name of the column in the join | |
javax.jdo.annotations.Joins JDO Annotation Joins Target: ElementType.TYPE Implemented Interfaces: Annotation Annotation for a group of joins . Since: JDO 2.1 Public Annotation Attributes Join [] value default null The join definitions used for the mapping of this type. Joins for secondary tables are usually defined | |
javax.jdo.annotations.Joins.value JDO Annotation Attribute in javax.jdo.annotations. Joins Join [] value default null The join definitions used for the mapping of this type. Joins for secondary tables are usually defined at the type ... the same join definition and avoid redundancies. Since: JDO 2.1 | |
javax.jdo.annotations.Join.columns JDO Annotation Attribute in javax.jdo.annotations. Join Column [] columns default {} Detail definition of the join column(s). This is needed for more than one join column. Since: JDO 2.1 | |
javax.jdo.annotations.Join.table JDO Annotation Attribute in javax.jdo.annotations. Join String table default "" Table to join to (used when joining to secondary tables). Since: JDO 2.1 | |
javax.jdo.annotations.Join.generateForeignKey JDO Annotation Attribute in javax.jdo.annotations. Join String generateForeignKey default "" Generate or assume a foreign key constraint exists on the column or columns associated with this join . Specify "true" or "false". Since: JDO 2.1 | |
javax.jdo.annotations.Join.deleteAction JDO Annotation Attribute in javax.jdo.annotations. Join ForeignKeyAction deleteAction default ForeignKeyAction.UNSPECIFIED Delete action to be applied to any ForeignKey on this join . Since: JDO 2.1 | |
javax.jdo.annotations.Join.outer JDO Annotation Attribute in javax.jdo.annotations. Join String outer default "" Whether to use an outer join . Since: JDO 2.1 | |
javax.jdo.annotations.Join.generatePrimaryKey JDO Annotation Attribute in javax.jdo.annotations. Join String generatePrimaryKey default "" Generate or assume a primary key constraint exists on the column or columns associated with this join . Specify "true" or "false". Since: JDO 2.1 | |
javax.jdo.annotations.Join.unique JDO Annotation Attribute in javax.jdo.annotations. Join String unique default "" Whether the join column is unique. Since: JDO 2.1 | |
javax.jdo.annotations.Join.indexed JDO Annotation Attribute in javax.jdo.annotations. Join String indexed default "" Whether the join column is indexed. Since: JDO 2.1 | |
javax.jdo.annotations.Join.column JDO Annotation Attribute in javax.jdo.annotations. Join String column default "" Name of the column in the join table. Since: JDO 2.1 | |
javax.jdo.annotations.Join.primaryKey JDO Annotation Attribute in javax.jdo.annotations. Join String primaryKey default "" Name for a generated primary key constraint. Since: JDO 2.1 | |
javax.jdo.annotations.Join.extensions JDO Annotation Attribute in javax.jdo.annotations. Join Extension [] extensions default {} Vendor extensions. Since: JDO 2.1 | |
javax.jdo.annotations.Join.foreignKey JDO Annotation Attribute in javax.jdo.annotations. Join String foreignKey default "" Name for a generated foreign key constraint. Since: JDO 2.1 | |
javax.jdo.annotations.Join.uniqueKey JDO Annotation Attribute in javax.jdo.annotations. Join String uniqueKey default "" The name of the unique key constraint to generate. Since: JDO 2.1 | |
javax.jdo.annotations.Join.index JDO Annotation Attribute in javax.jdo.annotations. Join String index default "" The name of the index to generate. Since: JDO 2.1 |