|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.hibernate.dialect.Dialect net.sf.hibernate.dialect.MySQLDialect
An SQL dialect for MySQL.
Field Summary |
Fields inherited from class net.sf.hibernate.dialect.Dialect |
CLOSED_QUOTE, QUOTE |
Constructor Summary | |
MySQLDialect()
|
Method Summary | |
SQLExceptionConverter |
buildSQLExceptionConverter()
Build an instance of the SQLExceptionConverter preferred by this dialect for converting SQLExceptions into Hibernate's JDBCException hierarchy. |
char |
closeQuote()
The closing quote for a quoted identifier |
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 |
getAddForeignKeyConstraintString(String constraintName,
String[] foreignKey,
String referencedTable,
String[] primaryKey)
The syntax used to add a foreign key constraint to a table. |
String |
getDropForeignKeyString()
|
String |
getIdentityColumnString()
The keyword used to specify an identity column, if identity column key generation is supported. |
String |
getIdentitySelectString()
The syntax that returns the identity value of the last insert, if identity column key generation is supported. |
String |
getLimitString(String sql,
boolean hasOffset)
Add a LIMIT clause to the given SQL SELECT |
char |
getSchemaSeparator()
The separator between the schema/tablespace name and the table name. |
char |
openQuote()
The opening quote for a quoted identifier |
boolean |
qualifyIndexName()
Do we need to qualify index names with the schema name? |
boolean |
supportsIdentityColumns()
Does this dialect support identity column key generation? |
boolean |
supportsIfExistsBeforeTableName()
|
boolean |
supportsLimit()
Does this Dialect have some kind of LIMIT syntax? |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MySQLDialect()
Method Detail |
public String getAddColumnString()
Dialect
getAddColumnString
in class Dialect
public String getDropForeignKeyString()
getDropForeignKeyString
in class Dialect
public boolean dropConstraints()
Dialect
dropConstraints
in class Dialect
public boolean qualifyIndexName()
Dialect
qualifyIndexName
in class Dialect
public boolean supportsIdentityColumns()
Dialect
supportsIdentityColumns
in class Dialect
public String getIdentitySelectString()
Dialect
getIdentitySelectString
in class Dialect
public String getIdentityColumnString()
Dialect
getIdentityColumnString
in class Dialect
public String getAddForeignKeyConstraintString(String constraintName, String[] foreignKey, String referencedTable, String[] primaryKey)
Dialect
getAddForeignKeyConstraintString
in class Dialect
public boolean supportsLimit()
Dialect
supportsLimit
in class Dialect
public String getLimitString(String sql, boolean hasOffset)
Dialect
getLimitString
in class Dialect
public char closeQuote()
Dialect
closeQuote
in class Dialect
public char openQuote()
Dialect
public boolean supportsIfExistsBeforeTableName()
supportsIfExistsBeforeTableName
in class Dialect
public char getSchemaSeparator()
Dialect
getSchemaSeparator
in class Dialect
public SQLExceptionConverter buildSQLExceptionConverter()
buildSQLExceptionConverter
in class Dialect
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |