Class Ingres10Dialect


public class Ingres10Dialect extends Ingres9Dialect
A SQL dialect for Ingres 10 and later versions.

Changes:

  • Add native BOOLEAN type support
  • Add identity column support
  • Constructor Details

    • Ingres10Dialect

      public Ingres10Dialect()
  • Method Details

    • toBooleanValueString

      public String toBooleanValueString(boolean bool)
      The SQL literal value to which this database maps boolean values.
      Overrides:
      toBooleanValueString in class Dialect
      Parameters:
      bool - The boolean value
      Returns:
      The appropriate SQL literal.
    • registerBooleanSupport

      protected void registerBooleanSupport()
    • supportsIdentityColumns

      public boolean supportsIdentityColumns()
      Description copied from class: Dialect
      Does this dialect support identity column key generation?
      Overrides:
      supportsIdentityColumns in class Dialect
      Returns:
      True if IDENTITY columns are supported; false otherwise.
    • hasDataTypeInIdentityColumn

      public boolean hasDataTypeInIdentityColumn()
      Description copied from class: Dialect
      Whether this dialect have an Identity clause added to the data type or a completely separate identity data type
      Overrides:
      hasDataTypeInIdentityColumn in class Dialect
      Returns:
      boolean
    • getIdentitySelectString

      public String getIdentitySelectString()
      Description copied from class: Ingres9Dialect
      Get the select command used to retrieve the last generated sequence value.
      Overrides:
      getIdentitySelectString in class Ingres9Dialect
      Returns:
      Statement to retrieve last generated sequence value
    • getIdentityColumnString

      public String getIdentityColumnString()
      Description copied from class: Dialect
      The syntax used during DDL to define a column as being an IDENTITY.
      Overrides:
      getIdentityColumnString in class Dialect
      Returns:
      The appropriate DDL fragment.
    • getIdentityInsertString

      public String getIdentityInsertString()
      Description copied from class: Dialect
      The keyword used to insert a generated value into an identity column (or null). Need if the dialect does not support inserts that specify no column values.
      Overrides:
      getIdentityInsertString in class Dialect
      Returns:
      The appropriate keyword.