public class PlatformOracleImpl extends PlatformDefaultImpl
| Constructor and Description |
|---|
PlatformOracleImpl()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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 |
getSizeSuffix(String sqlType)
Returns a possible SQL suffix for column definitions of certain
SQL Types, e.g.
|
String |
getTimestampString(Date date)
Formats the given date as timestamp 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)
Returns if the RDBMS-specific SQL type has a size attribute.
|
createNotNullBeforeAutoincrement, formatDateTimeString, getNullString, getSqlTypeForSchemaType, hasUniqueConstraintSize, quoteAndEscape, setSchemaTypeToSqlTypeMapping, usesStandaloneSchemapublic String getAutoIncrement()
getAutoIncrement in interface PlatformgetAutoIncrement in class PlatformDefaultImplPlatform.getAutoIncrement()protected boolean escapeBackslashes()
PlatformDefaultImplescapeBackslashes in class PlatformDefaultImplpublic String getSizeSuffix(String sqlType)
getSizeSuffix in interface PlatformgetSizeSuffix in class PlatformDefaultImplsqlType - the SQL type to determine the suffix for.public 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 String getTimestampString(Date date)
getTimestampString in interface PlatformgetTimestampString in class PlatformDefaultImpldate - the date to format.public boolean hasSize(String sqlType)
PlatformhasSize in interface PlatformhasSize in class PlatformDefaultImplsqlType - the SQL typePlatform.hasSize(String)public boolean hasScale(String sqlType)
PlatformhasScale in interface PlatformhasScale in class PlatformDefaultImplsqlType - the SQL typePlatform.hasScale(String)Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.