|
|||||||||||
| 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 | |
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,
boolean referencesPrimaryKey)
The syntax used to add a foreign key constraint to a table. |
String |
getCastTypeName(int code)
|
String |
getColumnComment(String comment)
|
String |
getCreateTemporaryTableString()
|
String |
getCurrentTimestampSelectString()
|
String |
getDropForeignKeyString()
|
String |
getIdentityColumnString()
|
String |
getIdentitySelectString()
|
String |
getLimitString(String sql,
boolean hasOffset)
Add a LIMIT clause to the given SQL SELECT |
ResultSet |
getResultSet(CallableStatement ps)
|
String |
getSelectGUIDString()
|
String |
getTableComment(String comment)
|
boolean |
isCurrentTimestampSelectStringCallable()
|
char |
openQuote()
The opening quote for a quoted identifier |
boolean |
qualifyIndexName()
Do we need to qualify index names with the schema name? |
int |
registerResultSetOutParameter(CallableStatement statement,
int col)
|
boolean |
supportsCascadeDelete()
|
boolean |
supportsCurrentTimestampSelection()
|
boolean |
supportsIdentityColumns()
Does this dialect support identity column key generation? |
boolean |
supportsIfExistsBeforeTableName()
|
boolean |
supportsLimit()
Does this Dialect have some kind of LIMIT syntax? |
boolean |
supportsTemporaryTables()
|
| 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,
boolean referencesPrimaryKey)
Dialect
getAddForeignKeyConstraintString in class DialectreferencesPrimaryKey - if false, constraint should be
explicit about which column names the constraint refers to
public 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 String getSelectGUIDString()
getSelectGUIDString in class Dialectpublic boolean supportsCascadeDelete()
supportsCascadeDelete in class Dialectpublic String getTableComment(String comment)
getTableComment in class Dialectpublic String getColumnComment(String comment)
getColumnComment in class Dialectpublic boolean supportsTemporaryTables()
supportsTemporaryTables in class Dialectpublic String getCreateTemporaryTableString()
getCreateTemporaryTableString in class Dialectpublic String getCastTypeName(int code)
getCastTypeName in class Dialectpublic boolean supportsCurrentTimestampSelection()
supportsCurrentTimestampSelection in class Dialectpublic boolean isCurrentTimestampSelectStringCallable()
isCurrentTimestampSelectStringCallable in class Dialectpublic String getCurrentTimestampSelectString()
getCurrentTimestampSelectString in class Dialect
public int registerResultSetOutParameter(CallableStatement statement,
int col)
throws SQLException
registerResultSetOutParameter in class DialectSQLException
public ResultSet getResultSet(CallableStatement ps)
throws SQLException
getResultSet in class DialectSQLException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||