org.apache.torque.engine.platform
Class PlatformMssqlImpl

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

public class PlatformMssqlImpl
extends PlatformDefaultImpl

MS SQL Platform implementation.

Version:
$Id: PlatformMssqlImpl.java 239626 2005-08-24 12:19:51Z henning $
Author:
Martin Poeschl

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
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
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-2006 Apache Software Foundation. All Rights Reserved.