|
||||||||||
| 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 PlatformgetAutoIncrement in class PlatformDefaultImplPlatform.getAutoIncrement()public boolean createNotNullBeforeAutoincrement()
createNotNullBeforeAutoincrement in interface PlatformcreateNotNullBeforeAutoincrement in class PlatformDefaultImplPlatform.createNotNullBeforeAutoincrement()protected boolean escapeBackslashes()
PlatformDefaultImpl
escapeBackslashes 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 PlatformDefaultImpl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||