|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.hibernate.dialect.Dialect
org.hibernate.dialect.MySQLDialect
An SQL dialect for MySQL.
| Field Summary |
| Fields inherited from class org.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 |
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()
|
String |
getIdentitySelectString()
|
String |
getLimitString(String sql,
boolean hasOffset)
Add a LIMIT clause to the given SQL SELECT |
char |
getSchemaSeparator()
The separator between the schema/catalog/tablespace name and the table name. |
String |
getSelectGUIDString()
|
char |
openQuote()
The opening quote for a quoted identifier |
boolean |
qualifyIndexName()
Do we need to qualify index names with the schema name? |
boolean |
supportsCascadeDelete()
|
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 boolean qualifyIndexName()
Dialect
qualifyIndexName in class Dialectpublic boolean supportsIdentityColumns()
Dialect
supportsIdentityColumns in class Dialectpublic String getIdentitySelectString()
getIdentitySelectString in class Dialectpublic String getIdentityColumnString()
getIdentityColumnString in class Dialect
public String getAddForeignKeyConstraintString(String constraintName,
String[] foreignKey,
String referencedTable,
String[] primaryKey)
Dialect
getAddForeignKeyConstraintString in class Dialectpublic boolean supportsLimit()
Dialect
supportsLimit in class Dialectpublic String getDropForeignKeyString()
getDropForeignKeyString in class Dialect
public String getLimitString(String sql,
boolean hasOffset)
Dialect
getLimitString in class Dialectpublic char closeQuote()
Dialect
closeQuote in class Dialectpublic char openQuote()
Dialect
openQuote in class Dialectpublic boolean supportsIfExistsBeforeTableName()
supportsIfExistsBeforeTableName in class Dialectpublic char getSchemaSeparator()
Dialect
getSchemaSeparator in class Dialectpublic String getSelectGUIDString()
getSelectGUIDString in class Dialectpublic boolean supportsCascadeDelete()
supportsCascadeDelete 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 | ||||||||||