public interface

TypeDiscriminatorMetadata

org.hibernate.hql.ast.TypeDiscriminatorMetadata

Class Overview

Essentially a wrapper around a DiscriminatorMetadata and the proper sql alias to use.

Summary

Public Methods
abstract Type getResolutionType()
Get the type used to resolve the actual discriminator value resulting from getSqlFragment() back into a Class reference.
abstract String getSqlFragment()
Get the sql fragment that is used to determine the actual discriminator value for a row.

Public Methods

public abstract Type getResolutionType ()

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

Returns
  • The resolution type.

public abstract String getSqlFragment ()

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

Returns
  • The fragment