public class SQLServerSQLBuilderImpl extends SQL92SQLBuilderImpl
ERROR_OLITE_RESOURCE_BUSY_AND_NOWAIT_SPECIFIED, mSQLBuilderInterface, ORACLE_ROWID_COLUMNLOGGER_NAMEBINDING_STYLE_JDBC, BINDING_STYLE_ORACLE, BINDING_STYLE_ORACLE_NAME, BINDING_STYLE_UNKNOWN, DML_DELETE, DML_INSERT, DML_UPDATE, MAX_COLUMN_IDENTIFIER_LEN, RANGE_PAGE_BIND_HIGH_ROWNUM, RANGE_PAGE_BIND_LOW_ROWNUM| Constructor and Description | 
|---|
| SQLServerSQLBuilderImpl() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | bindEffDtDateDayAddStatement(java.sql.PreparedStatement stmt,
                            java.lang.Object date,
                            int days)Bind the statement with the values required
 to compute a date that is 'x' number of days
 apart from the specified date | 
| java.lang.String | buildEffDtDateDayAddStatement()Returns a statement that returns a date
 that is 'x' number of days apart from the specified
 date. | 
| java.lang.String | getClauseForDateLiteral(java.util.Date date)Creates a database platform specific clause for converting a date string literal
 to date datatype. | 
| java.lang.String | getDbTimeQuery()Returns a SQL statement to obtain the current
 time from the database. | 
| java.lang.String | getDbType()Returns a string uniquely identifying this type of
 SQLBuilder. | 
| static SQLBuilder | getInterface()Gets the singleton instance of this class. | 
| protected java.lang.String | getJDBCDriverClassName(java.lang.String url)Defaults to the microsoft supplied JDBC driver, but you can override
 this with the system property. | 
| protected boolean | getLockTrailerIsAtEnd()SQLServer permits the lock clause before the WHERE clause. | 
| java.lang.String | getPersistManagerClassName()Returns the name of default PersistManager class name. | 
| protected java.lang.String | getSqlVariantLockTrailer()Returns the lock trailer from the System properties. | 
| java.lang.String | getStringConcatOper(boolean bIncludeSpaces)Returns a String concatenation operator for query clause generation. | 
| protected boolean | getSupportsAliasInUpdateStatements()SQL*Server doesn't support this: eg: "update EMP Employees (set NAME='Brian') where ID=42" | 
| java.lang.String | getVersion()Gets a string describing the version of this implentation
 of this interface. | 
getCreateSequenceInsertTriggerSQL, getCreateSequenceSQL, getDropSequenceSQL, getDropTableSQL, getQueryHitCountSQL, getTypeMapName, isDisplayBindValueUIbaseBuildSelectList, bindDeleteStatement, bindInsertStatement, bindOptUpdateWhereClause, bindParametersForStmt, bindParamValue, bindRangePagingParams, bindUpdateStatement, bindWhereAttrValue, bindWhereClause, bindWhereClause, buildDefaultViewObjectFromClause, buildDefaultViewObjectFromClause, buildDefaultViewObjectWhereClause, buildDeleteStatement, buildInsertStatement, buildOptUpdateWhereClause, buildRangePagingQuery, buildSelectList, buildSelectString, buildSelectString, buildUpdateStatement, buildWhereClause, capabilityCanReuseLockStatements, checkTableNameForQuotes, compareFetchedValue, containsTableAlias, convertFlags, convertValueToStorageType, convertValueToWhereFragment, convertValueToWhereFragment, createHandleForCancellableStatements, createStatement, doEntityDML, doEntitySelect, doEntitySelectForAltKey, doLoadBulkFromResultSet, doLoadFromResultSet, doLoadFromStatement, doPreparedStatementDefineColumnType, doPreparedStatementDefines, doRefreshSQL, doRegisterDefaultDriver, doStatementSetBindingStyle, doStatementSetBindingStyleDefault, doStatementSetRowPrefetch, dumpConstraint, executeBatch, findTableAliasInSQLExpr, generatePKBasedRef, generateRefAndOID, generateRowID, getANSIJoinVCs, getBaseTable, getBindingStyleValue, getCappedQueryHitCountSQL, getColumnNameWithFormatForQuery, getConstraints, getConstraintsList, getCurrentDbTime, getDBOperationList, getDBPackageList, getDefaultBindingStyle, getEscapeClause, getFormattedLHSCompareFragment, getFormattedRHSCompareFragment, getFormattedRHSCompareFragment, getMaxTableNameLength, getNativeConnectionType, getNativeResultSetType, getNativeStatementType, getNestedTables, getQuotationMarkLeft, getQuotationMarkRight, getROWID, getSchemaList, getSchemas, getTableList, getTableList, getTables, getTables, getTables, getTables, getViewCriteriaAdapter, getWarningText, getWildCardEscapeVal, handleSQLException, invalidDatumFactoryUsage, isConnectionAlive, isDataSourceJTABased, isNCharType, isNewLineAllowedInSQL, isSQLRecoverableException, isStreamType, jdbcClientSideSecurity, lookupDataSource, needsQuotedTableName, populateCompOpers, populateJboTypeMapEntries, prepareCall, prepareStatement, processClauseForSubQuery, processClauseReplaceTableAliases, processException, registerDatabaseChangeListener, releaseSavepoint, rollbackToSavepoint, setSavepoint, setSessionTimeZone, shouldPutJoinConstraintInFromClause, shouldSkipDML, supportsReturningClause, supportsRowNumQuery, unwrapConnection, unwrapResultSet, unwrapStatementformatAttributeValue, getBindValsForSqlGen, getFormattedLHSCompareFragment, getFormattedRHSCompareFragment, getRowSetForSqlGen, getViewCriteriaClause, getWhereFragmentFromVO, isCriteriaItemOuterJoined, isLHSFragmentOptional, replaceSQLDerivedAttrTableAlias, setupBindVarExtendedDatacleanUpTemporaryBindVariables, cleanUpTemporaryBindVars, convertCriteriaItemToWhereFragment, convertOpandRHSToWhereFragment, convertValueToWhereFragment, correctOprandLiteral, createTempBindVar, createTemporaryBindVar, doConvertCriteriaItemToWhereFragment, getCriteriaClause, getCriteriaClause, getFormattedLHSCompareFragment, getOptionalItemClause, isCharType, isDateType, isNumericType, parseOperatorAndValueFromItemValue, shouldUseTempBindVariableForValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisCharType, isNumericTypepublic static SQLBuilder getInterface()
public java.lang.String getVersion()
SQLBuildergetVersion in interface SQLBuildergetVersion in class SQL92SQLBuilderImplpublic java.lang.String getDbType()
SQLBuildergetDbType in interface SQLBuildergetDbType in class SQL92SQLBuilderImplpublic java.lang.String getPersistManagerClassName()
SQLBuildergetPersistManagerClassName in interface SQLBuildergetPersistManagerClassName in class SQL92SQLBuilderImplprotected java.lang.String getJDBCDriverClassName(java.lang.String url)
getJDBCDriverClassName in class SQL92SQLBuilderImplurl - the JDBC url.protected java.lang.String getSqlVariantLockTrailer()
SQL92SQLBuilderImplgetSqlVariantLockTrailer in class SQL92SQLBuilderImplprotected boolean getLockTrailerIsAtEnd()
getLockTrailerIsAtEnd in class BaseSQLBuilderImplpublic java.lang.String getDbTimeQuery()
BaseSQLBuilderImplgetDbTimeQuery in class SQL92SQLBuilderImplpublic java.lang.String getStringConcatOper(boolean bIncludeSpaces)
SQLBuildergetStringConcatOper in interface SQLBuildergetStringConcatOper in class BaseSQLBuilderImplbIncludeSpaces - if the database platform allows spaces before and
 after the operator the returned string may include the spaces if the passed
 flag is true.protected boolean getSupportsAliasInUpdateStatements()
getSupportsAliasInUpdateStatements in class BaseSQLBuilderImplpublic java.lang.String buildEffDtDateDayAddStatement()
SQLBuilderbuildEffDtDateDayAddStatement in interface SQLBuilderbuildEffDtDateDayAddStatement in class SQL92SQLBuilderImplString that contains the necessary SQL.public void bindEffDtDateDayAddStatement(java.sql.PreparedStatement stmt,
                                java.lang.Object date,
                                int days)
                                  throws java.sql.SQLException
SQLBuilderbindEffDtDateDayAddStatement in interface SQLBuilderbindEffDtDateDayAddStatement in class BaseSQLBuilderImplstmt - The PreparedStatment object that needs to be bound
 with the valuesdate - The specified datedays - The number of days the resulting date needs to differ from the
 specified date. It could be a positive or a negative numberjava.sql.SQLExceptionpublic java.lang.String getClauseForDateLiteral(java.util.Date date)
SQLBuildergetClauseForDateLiteral in interface SQLBuildergetClauseForDateLiteral in class SQL92SQLBuilderImpldate - The date object that will be formatted and passed as a String