|
||||||||||
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.PlatformHsqldbImpl
public class PlatformHsqldbImpl
HSQLDB (formerly known as Hypersonic) Platform implementation.
Constructor Summary | |
---|---|
PlatformHsqldbImpl()
Default constructor. |
Method Summary | |
---|---|
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 |
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. |
Methods inherited from class org.apache.torque.templates.platform.PlatformDefaultImpl |
---|
getNullString, getSizeSuffix, getSqlTypeForSchemaType, getTimestampString, hasScale, hasSize, quoteAndEscape, setSchemaTypeToSqlTypeMapping |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PlatformHsqldbImpl()
Method Detail |
---|
public String getAutoIncrement()
getAutoIncrement
in interface Platform
getAutoIncrement
in class PlatformDefaultImpl
Platform.getAutoIncrement()
public boolean createNotNullBeforeAutoincrement()
createNotNullBeforeAutoincrement
in interface Platform
createNotNullBeforeAutoincrement
in class PlatformDefaultImpl
Platform.createNotNullBeforeAutoincrement()
protected boolean escapeBackslashes()
PlatformDefaultImpl
escapeBackslashes
in class PlatformDefaultImpl
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 boolean usesStandaloneSchema()
usesStandaloneSchema
in interface Platform
usesStandaloneSchema
in class PlatformDefaultImpl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |