public class PlatformMssqlImpl extends PlatformDefaultImpl
| Constructor and Description |
|---|
PlatformMssqlImpl()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
escapeBackslashes()
Returns whether backslashes must be escaped in string literals.
|
String |
getNullString(boolean notNull) |
String |
getTimestampString(Date date)
Formats the given date as timestamp string which is parseable
by the database.
|
boolean |
hasSize(String sqlType)
Returns if the RDBMS-specific SQL type has a size attribute.
|
boolean |
usesStandaloneSchema()
Returns whether the database has schema support where a schema
is not tied to a user (oracle) or database (mysql), but can be created
separately.
|
createNotNullBeforeAutoincrement, formatDateTimeString, getAutoIncrement, getDateString, getSizeSuffix, getSqlTypeForSchemaType, getTimeString, hasScale, hasUniqueConstraintSize, quoteAndEscape, setSchemaTypeToSqlTypeMappingpublic String getNullString(boolean notNull)
getNullString in interface PlatformgetNullString in class PlatformDefaultImplnotNull - flag for not nullNULL if null values are
allowed (as recomended by Microsoft).Platform.getNullString(boolean)protected boolean escapeBackslashes()
PlatformDefaultImplescapeBackslashes in class PlatformDefaultImplpublic String getTimestampString(Date date)
getTimestampString in interface PlatformgetTimestampString in class PlatformDefaultImpldate - the date to format.public boolean usesStandaloneSchema()
usesStandaloneSchema in interface PlatformusesStandaloneSchema in class PlatformDefaultImplpublic boolean hasSize(String sqlType)
PlatformhasSize in interface PlatformhasSize in class PlatformDefaultImplsqlType - the SQL typePlatform.hasSize(String)Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.