Class DiscriminatorStatementGenerator

  extended by
      extended by
All Implemented Interfaces:

public class DiscriminatorStatementGenerator
extends AbstractStatementGenerator

Class to generate an SQLStatement for iterating through instances of a particular type (and optionally subclasses). Based around the candidate type having subclasses the candidate has a discriminator column, and so can be used as the way of determining the type of the object. Also allows select of the discriminator column to allow retrieval of the type of the object. Please refer to the specific constructors for the usages. Note that the statement returned by getStatement() has nothing selected, solely providing the basic structure. Column selection should be performed when generating the mapping definition.

Supported options

This generator supports the following "options" :-