public class SQLServerDialect extends Object implements JdbcDialect
JdbcDialect.JdbcDialect.DialectResolutionContext, JdbcDialect.LimitHandler, JdbcDialect.SQLFunction, JdbcDialect.SQLParameterProcessor, JdbcDialect.SQLPathProcessor, JdbcDialect.SQLValueDeserializer, JdbcDialect.StatementConfigurationException, JdbcDialect.StatementConfigurator, JdbcDialect.StatementParameterHandler| Constructor and Description |
|---|
SQLServerDialect() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
deleteStatementAliasSupported()
Get whether alias is supported in the DELETE clause.
|
boolean |
generatedKeyAlwaysReturned()
Retrieves whether a generated key will always be returned if the column name(s) or index(es) specified for the
auto generated key column(s) are valid and the statement succeeds.
|
JdbcDialect.SQLFunction |
getFunction(String name)
Get the
JdbcDialect.SQLFunction bound to given symbolic name. |
Optional<JdbcDialect.LimitHandler> |
getLimitHandler()
Get the
JdbcDialect.LimitHandler |
Optional<JdbcDialect.SQLParameterProcessor> |
getParameterProcessor()
Get the dialect
JdbcDialect.SQLParameterProcessor. |
JdbcDialect.StatementConfigurator |
getStatementConfigurator()
Get the
JdbcDialect.StatementConfigurator to use to configure JDBC statements. |
void |
init(JdbcDatastore datastore)
Dialect initialization hook at parent datastore initialization.
|
boolean |
supportsGetGeneratedKeys()
Retrieves whether auto-generated keys can be retrieved after a statement has been executed.
|
boolean |
supportsLikeEscapeClause()
Retrieves whether this database supports specifying a
LIKE escape clause. |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeleteStatementTargetRequired, getColumnName, getPathProcessor, getPrimaryKey, getStatementParameterHandler, getTableName, getValueDeserializer, supportGetGeneratedKeyByName, useOuterInJoinspublic void init(JdbcDatastore datastore) throws SQLException
JdbcDialectinit in interface JdbcDialectdatastore - Parent datastoreSQLException - An error occurred during dialect initializationpublic JdbcDialect.StatementConfigurator getStatementConfigurator()
JdbcDialectJdbcDialect.StatementConfigurator to use to configure JDBC statements.getStatementConfigurator in interface JdbcDialectpublic Optional<JdbcDialect.SQLParameterProcessor> getParameterProcessor()
JdbcDialectJdbcDialect.SQLParameterProcessor.getParameterProcessor in interface JdbcDialectpublic JdbcDialect.SQLFunction getFunction(String name)
JdbcDialectJdbcDialect.SQLFunction bound to given symbolic name.getFunction in interface JdbcDialectname - Function symbolic nameJdbcDialect.SQLFunction bound to given symbolic name. If null, a default function will be used, if
availablepublic boolean supportsLikeEscapeClause()
JdbcDialectLIKE escape clause.supportsLikeEscapeClause in interface JdbcDialecttrue if so; false otherwisepublic boolean supportsGetGeneratedKeys()
JdbcDialectsupportsGetGeneratedKeys in interface JdbcDialecttrue if auto-generated keys can be retrieved after a statement has executed;
false otherwisepublic boolean generatedKeyAlwaysReturned()
JdbcDialectgeneratedKeyAlwaysReturned in interface JdbcDialecttrue if so; false otherwisepublic boolean deleteStatementAliasSupported()
JdbcDialectdeleteStatementAliasSupported in interface JdbcDialecttrue if alias is supported in the DELETE clausepublic Optional<JdbcDialect.LimitHandler> getLimitHandler()
JdbcDialectJdbcDialect.LimitHandlergetLimitHandler in interface JdbcDialectCopyright © 2017 The Holon Platform. All rights reserved.