Package org.alfresco.repo.domain.dialect
Class Dialect
java.lang.Object
org.alfresco.repo.domain.dialect.Dialect
- Direct Known Subclasses:
MySQLInnoDBDialect,Oracle9Dialect,PostgreSQLDialect,SQLServerDialect
Class partially copied from patched hibernate 3.2.6
- Since:
- 6.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidregisterColumnType(int code, int capacity, String name) Subclasses register a type name for the given type code and maximum column length.protected voidregisterColumnType(int code, String name) Subclasses register a type name for the given type code.toString()
-
Constructor Details
-
Dialect
protected Dialect()
-
-
Method Details
-
toString
-
registerColumnType
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- TheTypestypecodecapacity- The maximum length of database typename- The database type name
-
registerColumnType
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- TheTypestypecodename- The database type name
-