Top Description Methods
org.hibernate.loader.plan.exec.spi

public Interface AliasResolutionContext

Known Direct Implementers
org.hibernate.loader.plan.exec.internal.AliasResolutionContextImpl

Provides aliases that are used by load queries and ResultSet processors.
Authors
Gail Badner, Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public CollectionReferenceAliases

Returns:

The corresponding QuerySpace UID, or null.
resolveCollectionReferenceAliases
(String
The QuerySpace UID whose CollectionReferenceAliases we want to look up.
querySpaceUid
)

Resolve the given QuerySpace UID to the CollectionReferenceAliases representing the SQL aliases used in building the SQL query.

public EntityReferenceAliases

Returns:

The corresponding QuerySpace UID, or null.
resolveEntityReferenceAliases
(String
The QuerySpace UID whose EntityReferenceAliases we want to look up.
querySpaceUid
)

Resolve the given QuerySpace UID to the EntityReferenceAliases representing the SQL aliases used in building the SQL query.

public String

Method Detail

resolveCollectionReferenceAliasesback to summary
public CollectionReferenceAliases resolveCollectionReferenceAliases(String querySpaceUid)

Resolve the given QuerySpace UID to the CollectionReferenceAliases representing the SQL aliases used in building the SQL query.

Assumes that a QuerySpace has already been registered. As such this method simply returns null if no QuerySpace with that UID has yet been resolved in the context.

Parameters
querySpaceUid:String

The QuerySpace UID whose CollectionReferenceAliases we want to look up.

Returns:CollectionReferenceAliases

The corresponding QuerySpace UID, or null.

resolveEntityReferenceAliasesback to summary
public EntityReferenceAliases resolveEntityReferenceAliases(String querySpaceUid)

Resolve the given QuerySpace UID to the EntityReferenceAliases representing the SQL aliases used in building the SQL query.

Assumes that a QuerySpace has already been registered. As such this method simply returns null if no QuerySpace with that UID has yet been resolved in the context.

Parameters
querySpaceUid:String

The QuerySpace UID whose EntityReferenceAliases we want to look up.

Returns:EntityReferenceAliases

The corresponding QuerySpace UID, or null.

resolveSqlTableAliasFromQuerySpaceUidback to summary
public String resolveSqlTableAliasFromQuerySpaceUid(String querySpaceUid)