|
||||||||||
| 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.PlatformMssqlImpl
public class PlatformMssqlImpl
MS SQL Platform implementation.
| Constructor Summary | |
|---|---|
PlatformMssqlImpl()
Default constructor. |
|
| Method Summary | |
|---|---|
protected boolean |
escapeBackslashes()
Returns whether backslashes must be escaped in string literals. |
String |
getNullString(boolean notNull)
|
String |
getTimestampString(Date date)
Formats the given date as timestamp string which is parseable by the database. |
boolean |
hasSize(String sqlType)
Returns if the RDBMS-specific SQL type has a size attribute. |
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 |
|---|
createNotNullBeforeAutoincrement, getAutoIncrement, getDateString, getSizeSuffix, getSqlTypeForSchemaType, getTimeString, hasScale, quoteAndEscape, setSchemaTypeToSqlTypeMapping |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PlatformMssqlImpl()
| Method Detail |
|---|
public String getNullString(boolean notNull)
getNullString in interface PlatformgetNullString in class PlatformDefaultImplNULL if null values are
allowed (as recomended by Microsoft).Platform.getNullString(boolean)protected boolean escapeBackslashes()
PlatformDefaultImpl
escapeBackslashes in class PlatformDefaultImplpublic String getTimestampString(Date date)
getTimestampString in interface PlatformgetTimestampString in class PlatformDefaultImpldate - the date to format.
public boolean usesStandaloneSchema()
usesStandaloneSchema in interface PlatformusesStandaloneSchema in class PlatformDefaultImplpublic boolean hasSize(String sqlType)
Platform
hasSize in interface PlatformhasSize in class PlatformDefaultImplsqlType - the SQL type
Platform.hasSize(String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||