|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.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 Dialectpublic String getDropForeignKeyString()
getDropForeignKeyString in class Dialectpublic boolean dropConstraints()
Dialect
dropConstraints in class Dialectpublic boolean qualifyIndexName()
Dialect
qualifyIndexName in class Dialectpublic boolean supportsIdentityColumns()
Dialect
supportsIdentityColumns in class Dialectpublic String getIdentitySelectString()
Dialect
getIdentitySelectString in class Dialectpublic String getIdentityColumnString()
Dialect
getIdentityColumnString in class Dialectpublic String getAddForeignKeyConstraintString(String constraintName, String[] foreignKey, String referencedTable, String[] primaryKey)
Dialect
getAddForeignKeyConstraintString in class Dialectpublic boolean supportsLimit()
Dialect
supportsLimit in class Dialectpublic String getLimitString(String sql, boolean hasOffset)
Dialect
getLimitString in class Dialectpublic char closeQuote()
Dialect
closeQuote in class Dialectpublic char openQuote()
Dialect
public boolean supportsIfExistsBeforeTableName()
supportsIfExistsBeforeTableName in class Dialectpublic char getSchemaSeparator()
Dialect
getSchemaSeparator in class Dialectpublic SQLExceptionConverter buildSQLExceptionConverter()
buildSQLExceptionConverter in class Dialect
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||