com.sibvisions.rad.persist.jdbc.param
Class OutParam

java.lang.Object
  extended by com.sibvisions.rad.persist.jdbc.param.AbstractParam
      extended by com.sibvisions.rad.persist.jdbc.param.OutParam

public class OutParam
extends AbstractParam

The OutParam is a simple output parameter for JDBC calls.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.sibvisions.rad.persist.jdbc.param.AbstractParam
AbstractParam.ParameterType
 
Field Summary
 
Fields inherited from class com.sibvisions.rad.persist.jdbc.param.AbstractParam
SQLTYPE_AUTOMATIC, SQLTYPE_DECIMAL, SQLTYPE_TIMESTAMP, SQLTYPE_VARCHAR
 
Constructor Summary
  OutParam(int pSqlType)
          Creates a new instance of OutParam for the given sql type.
protected OutParam(int pSqlType, java.lang.String pStructType)
          Creates a new instance of OutParam for the given array type.
  OutParam(java.lang.String pArrayType)
          Deprecated. use newArrayParam(String) instead.
 
Method Summary
static OutParam newArrayParam(java.lang.String pArrayType)
          Creates a new instance of OutParam for the given array type.
static OutParam newStructParam(java.lang.String pStructType)
          Creates a new instance of OutParam for the given struct type.
 
Methods inherited from class com.sibvisions.rad.persist.jdbc.param.AbstractParam
getArrayType, getSqlType, getType, getTypeName, getValue, setValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OutParam

public OutParam(int pSqlType)
Creates a new instance of OutParam for the given sql type.

Parameters:
pSqlType - the sql type. All Types are supported.

OutParam

@Deprecated
public OutParam(java.lang.String pArrayType)
Deprecated. use newArrayParam(String) instead.

Creates a new instance of OutParam for the given array type.

Parameters:
pArrayType - the array type.

OutParam

protected OutParam(int pSqlType,
                   java.lang.String pStructType)
Creates a new instance of OutParam for the given array type.

Parameters:
pSqlType - the sql type. All Types are supported.
pStructType - the array type.
Method Detail

newArrayParam

public static OutParam newArrayParam(java.lang.String pArrayType)
Creates a new instance of OutParam for the given array type.

Parameters:
pArrayType - the array type.
Returns:
the OutParam.

newStructParam

public static OutParam newStructParam(java.lang.String pStructType)
Creates a new instance of OutParam for the given struct type.

Parameters:
pStructType - the array type.
Returns:
the OutParam.


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.