public class PlatformHsqldbImpl extends PlatformDefaultImpl
| Constructor and Description |
|---|
PlatformHsqldbImpl()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
createNotNullBeforeAutoincrement()
Returns whether the "not null part" of the definition of a column
should be generated before the "autoincrement part" in a "create table"
statement.
|
protected boolean |
escapeBackslashes()
Returns whether backslashes must be escaped in string literals.
|
String |
getAutoIncrement() |
String |
getDateString(Date date)
Formats the given date as date string which is parseable by the database.
|
String |
getTimeString(Date date)
Formats the given date as time string which is parseable by the database.
|
boolean |
hasScale(String sqlType)
Returns if the RDBMS-specific SQL type has a scale attribute.
|
boolean |
hasSize(String sqlType)
Caveat, read HSQLDB e.g.
|
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.
|
formatDateTimeString, getNullString, getSizeSuffix, getSqlTypeForSchemaType, getTimestampString, hasUniqueConstraintSize, quoteAndEscape, setSchemaTypeToSqlTypeMappingpublic String getAutoIncrement()
getAutoIncrement in interface PlatformgetAutoIncrement in class PlatformDefaultImplPlatform.getAutoIncrement()public boolean createNotNullBeforeAutoincrement()
createNotNullBeforeAutoincrement in interface PlatformcreateNotNullBeforeAutoincrement in class PlatformDefaultImplPlatform.createNotNullBeforeAutoincrement()protected boolean escapeBackslashes()
PlatformDefaultImplescapeBackslashes in class PlatformDefaultImplpublic String getDateString(Date date)
getDateString in interface PlatformgetDateString in class PlatformDefaultImpldate - the date to format.public String getTimeString(Date date)
getTimeString in interface PlatformgetTimeString in class PlatformDefaultImpldate - the date to format.public boolean usesStandaloneSchema()
usesStandaloneSchema in interface PlatformusesStandaloneSchema in class PlatformDefaultImplpublic boolean hasSize(String sqlType)
hasSize in interface PlatformhasSize in class PlatformDefaultImplsqlType - the SQL typeTODO collect info for all platformspublic boolean hasScale(String sqlType)
PlatformhasScale in interface PlatformhasScale in class PlatformDefaultImplsqlType - the SQL typeTODO collect info for all platformsCopyright © 2000–2020 The Apache Software Foundation. All rights reserved.