Example usage for Java org.hibernate.dialect Dialect fields, constructors, methods, implement or subclass
The text is from its open source code.
String | appendLockHint(LockMode mode, String tableName) Some dialects support an alternative means to SELECT FOR UPDATE, whereby a "lock hint" is appends to the table name in the from clause. |
String | appendLockHint(LockOptions lockOptions, String tableName) Some dialects support an alternative means to SELECT FOR UPDATE, whereby a "lock hint" is appends to the table name in the from clause. |
String | applyLocksToSql(String sql, LockOptions aliasedLockOptions, Map Modifies the given SQL by applying the appropriate updates for the specified lock modes and key columns. |
boolean | bindLimitParametersInReverseOrder() ANSI SQL defines the LIMIT clause to be in the form LIMIT offset, limit. |
SQLExceptionConverter | buildSQLExceptionConverter() Build an instance of the SQLExceptionConverter preferred by this dialect for converting SQLExceptions into Hibernate's JDBCException hierarchy. |
char | closeQuote() The character specific to this dialect used to close a quoted identifier. |
JoinFragment | createOuterJoinFragment() Create a JoinFragment strategy responsible for handling this dialect's variations in how joins are handled. |
boolean | dropConstraints() Do we need to drop constraints before dropping tables in this dialect? |
boolean | forceLimitUsage() Generally, if there is no limit applied to a Hibernate query we do not apply any limits to the SQL query. |
String | getAddColumnString() The syntax used to add a column to a table (optional). |
String | getAddColumnSuffixString() The syntax for the suffix used to add a column to a table (optional). |
String | getCascadeConstraintsString() Completely optional cascading drop clause |
String | getCaseInsensitiveLike() The name of the SQL function that can do case insensitive like comparison. |
String | getColumnComment(String comment) Get the comment into a form supported for column definition. |
String[] | getCreateSequenceStrings(String sequenceName, int initialValue, int incrementSize) An optional multi-line form for databases which #supportsPooledSequences() . |
String | getCreateTableString() Command used to create a table. |
Properties | getDefaultProperties() Retrieve a set of default Hibernate properties for this database. |
Dialect | getDialect(Properties props) Get an instance of the dialect specified by the given properties or by the current System properties. |
String[] | getDropSequenceStrings(String sequenceName) The multiline script used to drop a sequence. |
String | getDropTableString(String tableName) Generate a DROP TABLE statement |
String | getForUpdateString() Get the string to append to SELECT statements to acquire locks for this dialect. |
Map | getFunctions() Retrieves a map of the dialect's registered functions (functionName => SQLFunction ). |
int | getInExpressionCountLimit() Return the limit that the underlying database places on the number of elements in an IN predicate. |
String | getLimitString(String query, int offset, int limit) Given a limit and an offset, apply the limit clause to the query. |
String | getLowercaseFunction() The name of the SQL function that transforms a string to lowercase |
String | getNullColumnString() The keyword used to specify a nullable column. |
String | getQuerySequencesString() Get the select command used retrieve the names of all sequences. |
String | getSequenceNextValString(String sequenceName) Generate the appropriate select statement to to retrieve the next value of a sequence. |
String | getTableTypeString() |
String | getTypeName(int code) Get the name of the database type associated with the given Types typecode. |
String | getTypeName(int code, long length, int precision, int scale) Get the name of the database type associated with the given Types typecode with the given storage specification parameters. |
UniqueDelegate | getUniqueDelegate() Get the UniqueDelegate supported by this dialect |
boolean | hasAlterTable() Does this dialect support the ALTER TABLE syntax? |
char | openQuote() The character specific to this dialect used to begin a quoted identifier. |
boolean | supportsCaseInsensitiveLike() Does this dialect support case insensitive LIKE restrictions? |
boolean | supportsColumnCheck() Does this dialect support column-level check constraints? |
boolean | supportsCommentOn() Does this dialect/database support commenting on tables, columns, etc? |
boolean | supportsIfExistsAfterTableName() For dropping a table, can the phrase "if exists" be applied after the table name? |
boolean | supportsIfExistsBeforeTableName() For dropping a table, can the phrase "if exists" be applied before the table name? |
boolean | supportsLimit() Does this dialect support some form of limiting query results via a SQL clause? |
boolean | supportsNotNullUnique() Is the combination of not-null and unique supported? |
boolean | supportsSequences() Does this dialect support sequences? |
boolean | supportsUnique() Does this dialect support the UNIQUE column syntax? |
boolean | supportsUniqueConstraintInCreateAlterTable() Does this dialect support adding Unique constraints via create and alter table ? |
String | toBooleanValueString(boolean bool) The SQL literal value to which this database maps boolean values. |
String | toString() |
boolean | useMaxForLimit() Does the LIMIT clause take a "maximum" row number instead of a total number of returned rows? |