com.interface21.jdbc.object
Class StoredProcedure.OutputParameter

java.lang.Object
  |
  +--com.interface21.jdbc.core.SqlParameter
        |
        +--com.interface21.jdbc.object.StoredProcedure.OutputParameter
Enclosing class:
StoredProcedure

public static class StoredProcedure.OutputParameter
extends SqlParameter

Subclass of SqlParameter to represent an output parameter. No additional properties: instanceof will be used to check for such types. Output parameters--like all stored procedure parameters-- must have names.


Constructor Summary
StoredProcedure.OutputParameter(java.lang.String name, int type)
          Create a new OutputParameter, supplying name and SQL type
 
Methods inherited from class com.interface21.jdbc.core.SqlParameter
getName, getSqlType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StoredProcedure.OutputParameter

public StoredProcedure.OutputParameter(java.lang.String name,
                                       int type)
Create a new OutputParameter, supplying name and SQL type
Parameters:
name - name of the parameter, as used in input and output maps
type - SQL type of the parameter, as defined in a constant in the java.sql.Types class.


Rod Johnson and Spring contributors 2001-2003.