Package | Description |
---|---|
org.hibernate |
This package defines the central Hibernate APIs.
|
org.hibernate.criterion |
A framework for defining restriction criteria and order criteria.
|
org.hibernate.engine.internal |
Support for many of the internal workings of Hibernate.
|
org.hibernate.hql.internal.ast |
An ANTLR-based parser for Hibernate Query Language.
|
org.hibernate.hql.internal.ast.tree | |
org.hibernate.hql.internal.ast.util | |
org.hibernate.internal |
An internal package containing mostly implementations of central Hibernate APIs.
|
org.hibernate.loader |
This package defines functionality for processing JDBC
result sets and returning complex graphs of persistent
objects.
|
org.hibernate.loader.collection |
This package defines collection initializers
|
org.hibernate.loader.criteria |
This package defines the criteria query compiler and loader
|
org.hibernate.loader.entity |
This package defines entity loaders
|
org.hibernate.persister.entity |
This package abstracts persistence mechanisms for
entities, and defines the Hibernate runtime
metamodel.
|
org.hibernate.sql |
This package defines helper classes for rendering SQL
fragments and SQL statements.
|
Modifier and Type | Method and Description |
---|---|
Criteria |
Criteria.createAlias(String associationPath,
String alias,
JoinType joinType)
Join an association using the specified join-type, assigning an alias
to the joined association.
|
Criteria |
Criteria.createAlias(String associationPath,
String alias,
JoinType joinType,
Criterion withClause)
Join an association using the specified join-type, assigning an alias
to the joined association.
|
Criteria |
Criteria.createCriteria(String associationPath,
JoinType joinType)
Create a new Criteria, "rooted" at the associated entity, using the
specified join type.
|
Criteria |
Criteria.createCriteria(String associationPath,
String alias,
JoinType joinType)
Create a new Criteria, "rooted" at the associated entity,
assigning the given alias and using the specified join type.
|
Criteria |
Criteria.createCriteria(String associationPath,
String alias,
JoinType joinType,
Criterion withClause)
Create a new Criteria, "rooted" at the associated entity,
assigning the given alias and using the specified join type.
|
Modifier and Type | Method and Description |
---|---|
DetachedCriteria |
DetachedCriteria.createAlias(String associationPath,
String alias,
JoinType joinType)
Creates an association path alias within this DetachedCriteria specifying the type of join.
|
DetachedCriteria |
DetachedCriteria.createAlias(String associationPath,
String alias,
JoinType joinType,
Criterion withClause)
Creates an association path alias within this DetachedCriteria specifying the type of join.
|
DetachedCriteria |
DetachedCriteria.createCriteria(String associationPath,
JoinType joinType)
Creates an nested DetachedCriteria representing the association path, specifying the type of join to use.
|
DetachedCriteria |
DetachedCriteria.createCriteria(String associationPath,
String alias,
JoinType joinType)
Creates an nested DetachedCriteria representing the association path, specifying the type of join to use.
|
DetachedCriteria |
DetachedCriteria.createCriteria(String associationPath,
String alias,
JoinType joinType,
Criterion withClause)
Creates an nested DetachedCriteria representing the association path, specifying the type of join to use and
an additional join restriction.
|
Modifier and Type | Method and Description |
---|---|
JoinType |
JoinSequence.Join.getJoinType() |
Modifier and Type | Method and Description |
---|---|
JoinSequence |
JoinSequence.addJoin(AssociationType associationType,
String alias,
JoinType joinType,
String[] referencingKey)
Add a join to this sequence
|
Modifier and Type | Method and Description |
---|---|
JoinType |
HqlSqlWalker.getImpliedJoinType() |
Modifier and Type | Method and Description |
---|---|
FromElement |
FromElementFactory.createCollection(QueryableCollection queryableCollection,
String role,
JoinType joinType,
boolean fetchFlag,
boolean indexed) |
void |
DotNode.setJoinType(JoinType joinType)
Sets the join type for this '.' node structure.
|
Constructor and Description |
---|
EntityJoinFromElement(HqlSqlWalker walker,
FromClause fromClause,
EntityPersister entityPersister,
JoinType joinType,
boolean fetchProperties,
String alias) |
Modifier and Type | Method and Description |
---|---|
static JoinType |
JoinProcessor.toHibernateJoinType(int astJoinType)
Translates an AST join type (i.e., the token type) into a JoinFragment.XXX join type.
|
Modifier and Type | Method and Description |
---|---|
JoinSequence |
SessionFactoryHelper.createJoinSequence(boolean implicit,
AssociationType associationType,
String tableAlias,
JoinType joinType,
String[] columns)
Generate a join sequence representing the given association type.
|
Modifier and Type | Method and Description |
---|---|
JoinType |
CriteriaImpl.Subcriteria.getJoinType() |
Modifier and Type | Method and Description |
---|---|
Criteria |
CriteriaImpl.createAlias(String associationPath,
String alias,
JoinType joinType) |
Criteria |
CriteriaImpl.Subcriteria.createAlias(String associationPath,
String alias,
JoinType joinType) |
Criteria |
CriteriaImpl.createAlias(String associationPath,
String alias,
JoinType joinType,
Criterion withClause) |
Criteria |
CriteriaImpl.Subcriteria.createAlias(String associationPath,
String alias,
JoinType joinType,
Criterion withClause) |
Criteria |
CriteriaImpl.createCriteria(String associationPath,
JoinType joinType) |
Criteria |
CriteriaImpl.Subcriteria.createCriteria(String associationPath,
JoinType joinType) |
Criteria |
CriteriaImpl.createCriteria(String associationPath,
String alias,
JoinType joinType) |
Criteria |
CriteriaImpl.Subcriteria.createCriteria(String associationPath,
String alias,
JoinType joinType) |
Criteria |
CriteriaImpl.createCriteria(String associationPath,
String alias,
JoinType joinType,
Criterion withClause) |
Criteria |
CriteriaImpl.Subcriteria.createCriteria(String associationPath,
String alias,
JoinType joinType,
Criterion withClause) |
Modifier and Type | Method and Description |
---|---|
JoinType |
OuterJoinableAssociation.getJoinType() |
protected JoinType |
JoinWalker.getJoinType(AssociationType associationType,
FetchMode config,
PropertyPath path,
String lhsTable,
String[] lhsColumns,
boolean nullable,
int currentDepth,
CascadeStyle cascadeStyle)
Determine the appropriate associationType of join (if any) to use to fetch the
given association.
|
protected JoinType |
JoinWalker.getJoinType(boolean nullable,
int currentDepth)
Use an inner join if it is a non-null association and this
is the "first" join in a series
|
protected JoinType |
JoinWalker.getJoinType(OuterJoinLoadable persister,
PropertyPath path,
int propertyNumber,
AssociationType associationType,
FetchMode metadataFetchMode,
CascadeStyle metadataCascadeStyle,
String lhsTable,
String[] lhsColumns,
boolean nullable,
int currentDepth)
Determine the appropriate type of join (if any) to use to fetch the
given association.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
JoinWalker.isJoinable(JoinType joinType,
Set visitedAssociationKeys,
String lhsTable,
String[] lhsColumnNames,
AssociationType type,
int depth)
Should we join this association?
|
Constructor and Description |
---|
OuterJoinableAssociation(PropertyPath propertyPath,
AssociationType joinableType,
String lhsAlias,
String[] lhsColumns,
String rhsAlias,
JoinType joinType,
String withClause,
boolean hasRestriction,
SessionFactoryImplementor factory,
Map enabledFilters) |
Modifier and Type | Method and Description |
---|---|
protected JoinType |
BasicCollectionJoinWalker.getJoinType(OuterJoinLoadable persister,
PropertyPath path,
int propertyNumber,
AssociationType associationType,
FetchMode metadataFetchMode,
CascadeStyle metadataCascadeStyle,
String lhsTable,
String[] lhsColumns,
boolean nullable,
int currentDepth) |
Modifier and Type | Method and Description |
---|---|
protected JoinType |
CriteriaJoinWalker.getJoinType(AssociationType associationType,
FetchMode config,
PropertyPath path,
String lhsTable,
String[] lhsColumns,
boolean nullable,
int currentDepth,
CascadeStyle cascadeStyle) |
protected JoinType |
CriteriaJoinWalker.getJoinType(OuterJoinLoadable persister,
PropertyPath path,
int propertyNumber,
AssociationType associationType,
FetchMode metadataFetchMode,
CascadeStyle metadataCascadeStyle,
String lhsTable,
String[] lhsColumns,
boolean nullable,
int currentDepth) |
JoinType |
CriteriaQueryTranslator.getJoinType(String path) |
Modifier and Type | Method and Description |
---|---|
protected JoinType |
EntityJoinWalker.getJoinType(OuterJoinLoadable persister,
PropertyPath path,
int propertyNumber,
AssociationType associationType,
FetchMode metadataFetchMode,
CascadeStyle metadataCascadeStyle,
String lhsTable,
String[] lhsColumns,
boolean nullable,
int currentDepth) |
Modifier and Type | Method and Description |
---|---|
protected JoinType |
AbstractEntityPersister.determineSubclassTableJoinType(int subclassTableNumber,
boolean canInnerJoin,
boolean includeSubclasses,
Set<String> treatAsDeclarations) |
Modifier and Type | Method and Description |
---|---|
static JoinType |
JoinType.parse(int joinType) |
static JoinType |
JoinType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JoinType[] |
JoinType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Sybase11JoinFragment.addJoin(String tableName,
String alias,
String[] fkColumns,
String[] pkColumns,
JoinType joinType) |
void |
QueryJoinFragment.addJoin(String tableName,
String alias,
String[] fkColumns,
String[] pkColumns,
JoinType joinType) |
void |
OracleJoinFragment.addJoin(String tableName,
String alias,
String[] fkColumns,
String[] pkColumns,
JoinType joinType) |
abstract void |
JoinFragment.addJoin(String tableName,
String alias,
String[] fkColumns,
String[] pkColumns,
JoinType joinType)
Adds a join.
|
void |
ANSIJoinFragment.addJoin(String tableName,
String alias,
String[] fkColumns,
String[] pkColumns,
JoinType joinType)
Adds a join, represented by the given information, to the fragment.
|
void |
Sybase11JoinFragment.addJoin(String tableName,
String alias,
String[] fkColumns,
String[] pkColumns,
JoinType joinType,
String on) |
void |
QueryJoinFragment.addJoin(String tableName,
String alias,
String[] fkColumns,
String[] pkColumns,
JoinType joinType,
String on) |
void |
OracleJoinFragment.addJoin(String tableName,
String alias,
String[] fkColumns,
String[] pkColumns,
JoinType joinType,
String on) |
abstract void |
JoinFragment.addJoin(String tableName,
String alias,
String[] fkColumns,
String[] pkColumns,
JoinType joinType,
String on)
Adds a join, with an additional ON clause fragment
|
void |
CacheJoinFragment.addJoin(String rhsTableName,
String rhsAlias,
String[] lhsColumns,
String[] rhsColumns,
JoinType joinType,
String on) |
void |
ANSIJoinFragment.addJoin(String rhsTableName,
String rhsAlias,
String[] lhsColumns,
String[] rhsColumns,
JoinType joinType,
String on)
Adds a join, represented by the given information, to the fragment.
|
Copyright © 2017 JBoss by Red Hat. All rights reserved.