Top Description Methods
org.hibernate.persister.entity

public Interface DiscriminatorMetadata

Imports
org.hibernate.type.Type

Provides the information needed to properly handle type discrimination in HQL queries, either by 'something.class' or 'type(something)' references.
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public Type

Returns:

The resolution type.
getResolutionType
()

Get the type used to resolve the actual discriminator value resulting from getSqlFragment back into a Class reference.

public String

Returns:

The fragment
getSqlFragment
(String
The qualification alias to append to any columns references in the generated fragment.
sqlQualificationAlias
)

Get the sql fragment that is used to determine the actual discriminator value for a row.

Method Detail

getResolutionTypeback to summary
public Type getResolutionType()

Get the type used to resolve the actual discriminator value resulting from getSqlFragment back into a Class reference.

Returns:Type

The resolution type.

getSqlFragmentback to summary
public String getSqlFragment(String sqlQualificationAlias)

Get the sql fragment that is used to determine the actual discriminator value for a row.

Parameters
sqlQualificationAlias:String

The qualification alias to append to any columns references in the generated fragment.

Returns:String

The fragment