public class SqlServerDatabaseType
extends com.j256.ormlite.db.BaseDatabaseType
WARNING: I have not tested this unfortunately because of a lack of permanent access to a MSSQL instance.
Constructor and Description |
---|
SqlServerDatabaseType() |
Modifier and Type | Method and Description |
---|---|
protected void |
appendBooleanType(StringBuilder sb,
com.j256.ormlite.field.FieldType fieldType,
int fieldWidth) |
protected void |
appendByteArrayType(StringBuilder sb,
com.j256.ormlite.field.FieldType fieldType,
int fieldWidth) |
protected void |
appendByteType(StringBuilder sb,
com.j256.ormlite.field.FieldType fieldType,
int fieldWidth) |
protected void |
appendDateType(StringBuilder sb,
com.j256.ormlite.field.FieldType fieldType,
int fieldWidth) |
void |
appendDeleteLimitValue(StringBuilder sb,
long limit) |
void |
appendEscapedEntityName(StringBuilder sb,
String name) |
void |
appendInsertNoColumns(StringBuilder sb) |
void |
appendLimitValue(StringBuilder sb,
long limit,
Long offset) |
protected void |
appendSerializableType(StringBuilder sb,
com.j256.ormlite.field.FieldType fieldType,
int fieldWidth) |
void |
appendUpdateLimitValue(StringBuilder sb,
long limit) |
protected void |
appendUuidNativeType(StringBuilder sb,
com.j256.ormlite.field.FieldType fieldType,
int fieldWidth) |
protected void |
configureGeneratedId(String tableName,
StringBuilder sb,
com.j256.ormlite.field.FieldType fieldType,
List<String> statementsBefore,
List<String> statementsAfter,
List<String> additionalArgs,
List<String> queriesAfter) |
String |
getDatabaseName() |
protected String[] |
getDriverClassNames() |
com.j256.ormlite.field.FieldConverter |
getFieldConverter(com.j256.ormlite.field.DataPersister dataType,
com.j256.ormlite.field.FieldType fieldType) |
boolean |
isAllowGeneratedIdInsertSupported() |
boolean |
isCreateTableReturnsNegative() |
boolean |
isDatabaseUrlThisType(String url,
String dbTypePart) |
boolean |
isLimitAfterDeleteSupported() |
boolean |
isLimitAfterSelect() |
boolean |
isLimitAfterUpdateSupported() |
boolean |
isOffsetSqlSupported() |
boolean |
isTruncateSupported() |
addPrimaryKeySql, addUniqueComboSql, appendBigDecimalNumericType, appendCharType, appendColumnArg, appendCreateSchemaSuffix, appendCreateTableSuffix, appendDoubleType, appendEscapedWord, appendFloatType, appendIntegerType, appendLongStringType, appendLongType, appendOffsetValue, appendSelectNextValFromSequence, appendShortType, appendStringType, configureGeneratedIdSequence, configureId, downCaseString, dropColumnArg, extractDatabaseTableConfig, generatedIdSqlAtEnd, generateIdSequenceName, getCommentLinePrefix, getDataPersister, getPingStatement, isBatchUseTransaction, isCreateIfNotExistsSupported, isCreateIndexIfNotExistsSupported, isCreateSchemaIfNotExistsSupported, isCreateSchemaReturnsNegative, isCreateSchemaReturnsZero, isCreateTableReturnsZero, isEntityNamesMustBeUpCase, isIdSequenceNeeded, isLimitDeleteAtEndSupported, isLimitSqlSupported, isLimitUpdateAtEndSupported, isNestedSavePointsSupported, isOffsetLimitArgument, isSelectSequenceBeforeInsert, isSequenceNamesMustBeLowerCase, isVarcharFieldWidthSupported, loadDriver, setDriver, upCaseEntityName, upCaseString
protected String[] getDriverClassNames()
getDriverClassNames
in class com.j256.ormlite.db.BaseDatabaseType
public String getDatabaseName()
public com.j256.ormlite.field.FieldConverter getFieldConverter(com.j256.ormlite.field.DataPersister dataType, com.j256.ormlite.field.FieldType fieldType)
getFieldConverter
in interface com.j256.ormlite.db.DatabaseType
getFieldConverter
in class com.j256.ormlite.db.BaseDatabaseType
protected void appendUuidNativeType(StringBuilder sb, com.j256.ormlite.field.FieldType fieldType, int fieldWidth)
appendUuidNativeType
in class com.j256.ormlite.db.BaseDatabaseType
protected void appendBooleanType(StringBuilder sb, com.j256.ormlite.field.FieldType fieldType, int fieldWidth)
appendBooleanType
in class com.j256.ormlite.db.BaseDatabaseType
protected void appendByteType(StringBuilder sb, com.j256.ormlite.field.FieldType fieldType, int fieldWidth)
appendByteType
in class com.j256.ormlite.db.BaseDatabaseType
protected void appendDateType(StringBuilder sb, com.j256.ormlite.field.FieldType fieldType, int fieldWidth)
appendDateType
in class com.j256.ormlite.db.BaseDatabaseType
protected void appendByteArrayType(StringBuilder sb, com.j256.ormlite.field.FieldType fieldType, int fieldWidth)
appendByteArrayType
in class com.j256.ormlite.db.BaseDatabaseType
protected void appendSerializableType(StringBuilder sb, com.j256.ormlite.field.FieldType fieldType, int fieldWidth)
appendSerializableType
in class com.j256.ormlite.db.BaseDatabaseType
protected void configureGeneratedId(String tableName, StringBuilder sb, com.j256.ormlite.field.FieldType fieldType, List<String> statementsBefore, List<String> statementsAfter, List<String> additionalArgs, List<String> queriesAfter)
configureGeneratedId
in class com.j256.ormlite.db.BaseDatabaseType
public void appendEscapedEntityName(StringBuilder sb, String name)
appendEscapedEntityName
in interface com.j256.ormlite.db.DatabaseType
appendEscapedEntityName
in class com.j256.ormlite.db.BaseDatabaseType
public boolean isLimitAfterSelect()
isLimitAfterSelect
in interface com.j256.ormlite.db.DatabaseType
isLimitAfterSelect
in class com.j256.ormlite.db.BaseDatabaseType
public boolean isLimitAfterUpdateSupported()
isLimitAfterUpdateSupported
in interface com.j256.ormlite.db.DatabaseType
isLimitAfterUpdateSupported
in class com.j256.ormlite.db.BaseDatabaseType
public void appendLimitValue(StringBuilder sb, long limit, Long offset)
appendLimitValue
in interface com.j256.ormlite.db.DatabaseType
appendLimitValue
in class com.j256.ormlite.db.BaseDatabaseType
public void appendUpdateLimitValue(StringBuilder sb, long limit)
appendUpdateLimitValue
in interface com.j256.ormlite.db.DatabaseType
appendUpdateLimitValue
in class com.j256.ormlite.db.BaseDatabaseType
public boolean isLimitAfterDeleteSupported()
isLimitAfterDeleteSupported
in interface com.j256.ormlite.db.DatabaseType
isLimitAfterDeleteSupported
in class com.j256.ormlite.db.BaseDatabaseType
public void appendDeleteLimitValue(StringBuilder sb, long limit)
appendDeleteLimitValue
in interface com.j256.ormlite.db.DatabaseType
appendDeleteLimitValue
in class com.j256.ormlite.db.BaseDatabaseType
public boolean isOffsetSqlSupported()
isOffsetSqlSupported
in interface com.j256.ormlite.db.DatabaseType
isOffsetSqlSupported
in class com.j256.ormlite.db.BaseDatabaseType
public boolean isAllowGeneratedIdInsertSupported()
isAllowGeneratedIdInsertSupported
in interface com.j256.ormlite.db.DatabaseType
isAllowGeneratedIdInsertSupported
in class com.j256.ormlite.db.BaseDatabaseType
public boolean isCreateTableReturnsNegative()
isCreateTableReturnsNegative
in interface com.j256.ormlite.db.DatabaseType
isCreateTableReturnsNegative
in class com.j256.ormlite.db.BaseDatabaseType
public void appendInsertNoColumns(StringBuilder sb)
appendInsertNoColumns
in interface com.j256.ormlite.db.DatabaseType
appendInsertNoColumns
in class com.j256.ormlite.db.BaseDatabaseType
public boolean isTruncateSupported()
isTruncateSupported
in interface com.j256.ormlite.db.DatabaseType
isTruncateSupported
in class com.j256.ormlite.db.BaseDatabaseType
This documentation is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.