org.apache.torque.adapter
Class DBDB2400

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

public class DBDB2400
extends DBDB2App

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

Version:
$Id: DBDB2400.java,v 1.3 2002/05/07 17:28:49 mpoeschl Exp $
Author:
Scott Weaver
See Also:
Serialized Form

Field Summary
static java.lang.String UCASE
          UpperCase/IgnoreCase sql function in DB2/400
 
Fields inherited from class org.apache.torque.adapter.DB
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
private  java.lang.String formatCase(java.lang.String in)
          Convenience method for String-formatting upper/ignore case statements.
 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
getIDMethodSQL, getIDMethodType, lockTable, unlockTable
 
Methods inherited from class org.apache.torque.adapter.DB
escapeText, getBooleanString, getDateString, getDateString, getIdSqlForAutoIncrement, getLimitStyle, getSequenceSql, getStringDelimiter, ignoreCaseInOrderBy, objectDataNeedsTrans, supportsNativeLimit, supportsNativeOffset
 
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.

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.

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

formatCase

private java.lang.String formatCase(java.lang.String in)
Convenience method for String-formatting upper/ignore case statements.

Parameters:
in - The string to transform to upper case.
Returns:
The upper case string.


Copyright © 1999-2003 Apache Software Foundation. All Rights Reserved.