org.apache.torque.engine.platform
Class PlatformMssqlImpl

java.lang.Object
  extended by org.apache.torque.engine.platform.PlatformDefaultImpl
      extended by org.apache.torque.engine.platform.PlatformMssqlImpl
All Implemented Interfaces:
Platform

public class PlatformMssqlImpl
extends PlatformDefaultImpl

MS SQL Platform implementation.

Version:
$Id: PlatformMssqlImpl.java 473814 2006-11-11 22:30:30Z tv $
Author:
Martin Poeschl, Greg Monroe

Field Summary
 
Fields inherited from interface org.apache.torque.engine.platform.Platform
IDENTITY, SEQUENCE
 
Constructor Summary
PlatformMssqlImpl()
          Default constructor.
 
Method Summary
 int getMaxColumnNameLength()
          Returns the max column length supported by the db.
 java.lang.String getNullString(boolean notNull)
           
 
Methods inherited from class org.apache.torque.engine.platform.PlatformDefaultImpl
createNotNullBeforeAutoincrement, getAutoIncrement, getDomainForSchemaType, getNativeIdMethod, hasScale, hasSize, setSchemaDomainMapping
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlatformMssqlImpl

public PlatformMssqlImpl()
Default constructor.

Method Detail

getMaxColumnNameLength

public int getMaxColumnNameLength()
Description copied from interface: Platform
Returns the max column length supported by the db.

Specified by:
getMaxColumnNameLength in interface Platform
Overrides:
getMaxColumnNameLength in class PlatformDefaultImpl
Returns:
the max column length
See Also:
Platform.getMaxColumnNameLength()

getNullString

public java.lang.String getNullString(boolean notNull)
Specified by:
getNullString in interface Platform
Overrides:
getNullString in class PlatformDefaultImpl
Returns:
Explicitly returns NULL if null values are allowed (as recomended by Microsoft).
See Also:
Platform.getNullString(boolean)


Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.