org.apache.torque.engine.platform
Class PlatformSybaseImpl

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

public class PlatformSybaseImpl
extends PlatformDefaultImpl

Sybase Platform implementation.

Version:
$Id: PlatformSybaseImpl.java 591651 2007-11-03 16:48:23Z tfischer $
Author:
Martin Poeschl

Field Summary
 
Fields inherited from interface org.apache.torque.engine.platform.Platform
IDENTITY, SEQUENCE
 
Constructor Summary
PlatformSybaseImpl()
          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

PlatformSybaseImpl

public PlatformSybaseImpl()
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:
Only produces a SQL fragment if null values are disallowed.
See Also:
Platform.getNullString(boolean)


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