Class Dialect

java.lang.Object
org.alfresco.repo.domain.dialect.Dialect
Direct Known Subclasses:
MySQLInnoDBDialect, Oracle9Dialect, PostgreSQLDialect, SQLServerDialect

public class Dialect extends Object
Class partially copied from patched hibernate 3.2.6
Since:
6.0
  • Constructor Details

    • Dialect

      protected Dialect()
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • registerColumnType

      protected void registerColumnType(int code, int capacity, String name)
      Subclasses register a type name for the given type code and maximum column length. $l in the type name with be replaced by the column length (if appropriate).
      Parameters:
      code - The Types typecode
      capacity - The maximum length of database type
      name - The database type name
    • registerColumnType

      protected void registerColumnType(int code, String name)
      Subclasses register a type name for the given type code. $l in the type name with be replaced by the column length (if appropriate).
      Parameters:
      code - The Types typecode
      name - The database type name