public class

PointbaseDialect

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

Class Overview

A Dialect for Pointbase.

Summary

[Expand]
Inherited Constants
From class org.hibernate.dialect.Dialect
Public Constructors
PointbaseDialect()
Creates new PointbaseDialect
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 getForUpdateString()
Get the string to append to SELECT statements to acquire locks for this dialect.
LockingStrategy getLockingStrategy(Lockable lockable, LockMode lockMode)
Get a strategy instance which knows how to acquire a database-level lock of the specified mode for this dialect.
[Expand]
Inherited Methods
From class org.hibernate.dialect.Dialect
From class java.lang.Object

Public Constructors

public PointbaseDialect ()

Creates new PointbaseDialect

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 getForUpdateString ()

Get the string to append to SELECT statements to acquire locks for this dialect.

Returns
  • The appropriate FOR UPDATE clause string.

public LockingStrategy getLockingStrategy (Lockable lockable, LockMode lockMode)

Get a strategy instance which knows how to acquire a database-level lock of the specified mode for this dialect.

Parameters
lockable The persister for the entity to be locked.
lockMode The type of lock to be acquired.
Returns
  • The appropriate locking strategy.