org.apache.torque.engine.platform
Class PlatformDb2Impl

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

public class PlatformDb2Impl
extends PlatformDefaultImpl

DB2 Platform implementation.

Version:
$Id: PlatformDb2Impl.java 473814 2006-11-11 22:30:30Z tv $
Author:
Martin Poeschl

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

Constructor Detail

PlatformDb2Impl

public PlatformDb2Impl()
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()

getAutoIncrement

public java.lang.String getAutoIncrement()
Specified by:
getAutoIncrement in interface Platform
Overrides:
getAutoIncrement in class PlatformDefaultImpl
Returns:
The RDBMS-specific SQL fragment for autoincrement.
See Also:
Platform.getAutoIncrement()


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