org.apache.torque.adapter
Class DBDB2400

java.lang.Object
  extended by org.apache.torque.adapter.AbstractDBAdapter
      extended by org.apache.torque.adapter.DBDB2App
          extended by org.apache.torque.adapter.DBDB2400
All Implemented Interfaces:
java.io.Serializable, DB, IDMethod

public class DBDB2400
extends DBDB2App

Torque Database Adapter for DB2/400 on the IBM AS400 platform.

Version:
$Id: DBDB2400.java 473821 2006-11-11 22:37:25Z tv $
Author:
Scott Weaver, Augustin Vidovic
See Also:
Serialized Form

Field Summary
static java.lang.String UCASE
          UpperCase/IgnoreCase sql function in DB2/400
 
Fields inherited from interface org.apache.torque.adapter.DB
ADAPTER_KEY, DRIVER_KEY, LIMIT_STYLE_DB2, LIMIT_STYLE_MYSQL, LIMIT_STYLE_NONE, LIMIT_STYLE_ORACLE, LIMIT_STYLE_POSTGRES, LIMIT_STYLE_SYBASE
 
Fields inherited from interface org.apache.torque.adapter.IDMethod
AUTO_INCREMENT, ID_BROKER, NATIVE, NO_ID_METHOD, SEQUENCE
 
Constructor Summary
protected DBDB2400()
          DBDB2400 constructor.
 
Method Summary
 java.lang.String ignoreCase(java.lang.String in)
          This method is used to ignore case.
 java.lang.String toUpperCase(java.lang.String in)
          This method is used to ignore case.
 
Methods inherited from class org.apache.torque.adapter.DBDB2App
generateLimits, getIDMethodSQL, getIDMethodType, getLimitStyle, lockTable, supportsNativeLimit, supportsNativeOffset, unlockTable
 
Methods inherited from class org.apache.torque.adapter.AbstractDBAdapter
escapeText, getBooleanString, getDateString, getFunctionClass, getStringDelimiter, ignoreCaseInOrderBy, useEscapeClauseForLike, useIlike
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UCASE

public static final java.lang.String UCASE
UpperCase/IgnoreCase sql function in DB2/400

See Also:
Constant Field Values
Constructor Detail

DBDB2400

protected DBDB2400()
DBDB2400 constructor.

Method Detail

ignoreCase

public java.lang.String ignoreCase(java.lang.String in)
This method is used to ignore case.

Specified by:
ignoreCase in interface DB
Overrides:
ignoreCase in class DBDB2App
Parameters:
in - The string whose case to ignore.
Returns:
The string in a case that can be ignored.

toUpperCase

public java.lang.String toUpperCase(java.lang.String in)
This method is used to ignore case.

Specified by:
toUpperCase in interface DB
Overrides:
toUpperCase in class DBDB2App
Parameters:
in - The string to transform to upper case.
Returns:
The upper case string.


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