|
||||||||||
| 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.PlatformMysqlImpl
public class PlatformMysqlImpl
MySql Platform implementation.
| Constructor Summary | |
|---|---|
PlatformMysqlImpl()
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. |
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, getSizeSuffix, getSqlTypeForSchemaType, getTimestampString, getTimeString, 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 PlatformMysqlImpl()
| Method Detail |
|---|
public String getAutoIncrement()
getAutoIncrement in interface PlatformgetAutoIncrement in class PlatformDefaultImplPlatform.getAutoIncrement()public boolean hasSize(String sqlType)
Platform
hasSize in interface PlatformhasSize in class PlatformDefaultImplsqlType - the SQL type
Platform.hasSize(String)protected boolean escapeBackslashes()
PlatformDefaultImpl
escapeBackslashes in class PlatformDefaultImplpublic String getDateString(Date date)
getDateString in interface PlatformgetDateString in class PlatformDefaultImpldate - the date to format.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||