public class

JDataStoreDialect

extends Dialect
java.lang.Object
   ↳ org.hibernate.dialect.Dialect
     ↳ org.hibernate.dialect.JDataStoreDialect

Class Overview

A Dialect for JDataStore.

Summary

[Expand]
Inherited Constants
From class org.hibernate.dialect.Dialect
Public Constructors
JDataStoreDialect()
Creates new JDataStoreDialect
Public Methods
boolean dropConstraints()
Do we need to drop constraints before dropping tables in this dialect?
String getAddColumnString()
The syntax used to add a column to a table (optional).
String getCascadeConstraintsString()
Completely optional cascading drop clause
String getIdentityColumnString()
The syntax used during DDL to define a column as being an IDENTITY.
String getIdentitySelectString()
Get the select command to use to retrieve the last generated IDENTITY value.
String getNoColumnsInsertString()
The fragment used to insert a row without specifying any column values.
boolean supportsColumnCheck()
Does this dialect support column-level check constraints?
boolean supportsIdentityColumns()
Does this dialect support identity column key generation?
boolean supportsTableCheck()
Does this dialect support table-level check constraints?
[Expand]
Inherited Methods
From class org.hibernate.dialect.Dialect
From class java.lang.Object

Public Constructors

public JDataStoreDialect ()

Creates new JDataStoreDialect

Public Methods

public boolean dropConstraints ()

Do we need to drop constraints before dropping tables in this dialect?

Returns
  • True if constraints must be dropped prior to dropping the table; false otherwise.

public String getAddColumnString ()

The syntax used to add a column to a table (optional).

Returns
  • The "add column" fragment.

public String getCascadeConstraintsString ()

Completely optional cascading drop clause

Returns
  • String

public String getIdentityColumnString ()

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

Returns
  • The appropriate DDL fragment.

public String getIdentitySelectString ()

Get the select command to use to retrieve the last generated IDENTITY value.

Returns
  • The appropriate select command

public String getNoColumnsInsertString ()

The fragment used to insert a row without specifying any column values. This is not possible on some databases.

Returns
  • The appropriate empty values clause.

public boolean supportsColumnCheck ()

Does this dialect support column-level check constraints?

Returns
  • True if column-level CHECK constraints are supported; false otherwise.

public boolean supportsIdentityColumns ()

Does this dialect support identity column key generation?

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

public boolean supportsTableCheck ()

Does this dialect support table-level check constraints?

Returns
  • True if table-level CHECK constraints are supported; false otherwise.