org.datanucleus.store.rdbms.sql
Class UnionStatementGenerator

java.lang.Object
  extended by org.datanucleus.store.rdbms.sql.AbstractStatementGenerator
      extended by org.datanucleus.store.rdbms.sql.UnionStatementGenerator
All Implemented Interfaces:
StatementGenerator

public class UnionStatementGenerator
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 and we use UNIONs to return all possible types of candidate. Also allows select of a dummy column to return the type for the part of the UNION that the object came from. Please refer to the specific constructors for the usages.

Supported options

This generator supports