Class PointbaseDialect

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

public class PointbaseDialect extends Dialect
A Dialect for Pointbase.
  • Constructor Details

    • PointbaseDialect

      public PointbaseDialect()
      Creates new PointbaseDialect
  • Method Details

    • getAddColumnString

      public String getAddColumnString()
      Description copied from class: Dialect
      The syntax used to add a column to a table (optional).
      Overrides:
      getAddColumnString in class Dialect
      Returns:
      The "add column" fragment.
    • dropConstraints

      public boolean dropConstraints()
      Description copied from class: Dialect
      Do we need to drop constraints before dropping tables in this dialect?
      Overrides:
      dropConstraints in class Dialect
      Returns:
      True if constraints must be dropped prior to dropping the table; false otherwise.
    • getCascadeConstraintsString

      public String getCascadeConstraintsString()
      Description copied from class: Dialect
      Completely optional cascading drop clause
      Overrides:
      getCascadeConstraintsString in class Dialect
      Returns:
      String
    • getForUpdateString

      public String getForUpdateString()
      Description copied from class: Dialect
      Get the string to append to SELECT statements to acquire locks for this dialect.
      Overrides:
      getForUpdateString in class Dialect
      Returns:
      The appropriate FOR UPDATE clause string.
    • getLockingStrategy

      public LockingStrategy getLockingStrategy(Lockable lockable, LockMode lockMode)
      Description copied from class: Dialect
      Get a strategy instance which knows how to acquire a database-level lock of the specified mode for this dialect.
      Overrides:
      getLockingStrategy in class Dialect
      Parameters:
      lockable - The persister for the entity to be locked.
      lockMode - The type of lock to be acquired.
      Returns:
      The appropriate locking strategy.