|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.torque.templates.platform.PlatformDefaultImpl
org.apache.torque.templates.platform.PlatformOracleImpl
public class PlatformOracleImpl
Oracle Platform implementation.
Constructor Summary | |
---|---|
PlatformOracleImpl()
Default constructor. |
Method Summary | |
---|---|
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 |
hasSize(String sqlType)
Returns if the RDBMS-specific SQL type has a size attribute. |
Methods inherited from class org.apache.torque.templates.platform.PlatformDefaultImpl |
---|
createNotNullBeforeAutoincrement, getNullString, getSqlTypeForSchemaType, hasScale, quoteAndEscape, setSchemaTypeToSqlTypeMapping, usesStandaloneSchema |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PlatformOracleImpl()
Method Detail |
---|
public String getAutoIncrement()
getAutoIncrement
in interface Platform
getAutoIncrement
in class PlatformDefaultImpl
Platform.getAutoIncrement()
protected boolean escapeBackslashes()
PlatformDefaultImpl
escapeBackslashes
in class PlatformDefaultImpl
public String getSizeSuffix(String sqlType)
getSizeSuffix
in interface Platform
getSizeSuffix
in class PlatformDefaultImpl
sqlType
- the SQL type to determine the suffix for.
public String getDateString(Date date)
getDateString
in interface Platform
getDateString
in class PlatformDefaultImpl
date
- the date to format.
public String getTimeString(Date date)
getTimeString
in interface Platform
getTimeString
in class PlatformDefaultImpl
date
- the date to format.
public String getTimestampString(Date date)
getTimestampString
in interface Platform
getTimestampString
in class PlatformDefaultImpl
date
- the date to format.
public boolean hasSize(String sqlType)
Platform
hasSize
in interface Platform
hasSize
in class PlatformDefaultImpl
sqlType
- the SQL type
Platform.hasSize(String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |