public class

Ingres10Dialect

extends Ingres9Dialect
java.lang.Object
   ↳ org.hibernate.dialect.Dialect
     ↳ org.hibernate.dialect.IngresDialect
       ↳ org.hibernate.dialect.Ingres9Dialect
         ↳ org.hibernate.dialect.Ingres10Dialect

Class Overview

A SQL dialect for Ingres 10 and later versions.

Changes:

  • Add native BOOLEAN type support
  • Add identity column support

Summary

[Expand]
Inherited Constants
From class org.hibernate.dialect.Dialect
Public Constructors
Ingres10Dialect()
Public Methods
String getIdentityColumnString()
The syntax used during DDL to define a column as being an IDENTITY.
String getIdentityInsertString()
The keyword used to insert a generated value into an identity column (or null).
String getIdentitySelectString()
Get the select command used to retrieve the last generated sequence value.
boolean hasDataTypeInIdentityColumn()
Whether this dialect have an Identity clause added to the data type or a completely separate identity data type
boolean supportsIdentityColumns()
Does this dialect support identity column key generation?
String toBooleanValueString(boolean bool)
The SQL literal value to which this database maps boolean values.
Protected Methods
void registerBooleanSupport()
[Expand]
Inherited Methods
From class org.hibernate.dialect.Ingres9Dialect
From class org.hibernate.dialect.IngresDialect
From class org.hibernate.dialect.Dialect
From class java.lang.Object

Public Constructors

public Ingres10Dialect ()

Public Methods

public String getIdentityColumnString ()

The syntax used during DDL to define a column as being an IDENTITY.

Returns
  • The appropriate DDL fragment.

public String getIdentityInsertString ()

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.

Returns
  • The appropriate keyword.

public String getIdentitySelectString ()

Get the select command used to retrieve the last generated sequence value.

Returns
  • Statement to retrieve last generated sequence value

public boolean hasDataTypeInIdentityColumn ()

Whether this dialect have an Identity clause added to the data type or a completely separate identity data type

Returns
  • boolean

public boolean supportsIdentityColumns ()

Does this dialect support identity column key generation?

Returns
  • True if IDENTITY columns are supported; false otherwise.

public String toBooleanValueString (boolean bool)

The SQL literal value to which this database maps boolean values.

Parameters
bool The boolean value
Returns
  • The appropriate SQL literal.

Protected Methods

protected void registerBooleanSupport ()