org.springframework.jdbc.core
Class SqlOutParameter

org.springframework.jdbc.core.SqlParameter
  |
  +--org.springframework.jdbc.core.SqlOutParameter

public class SqlOutParameter
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.

Author:
Rod Johnson, Thomas Risberg

Inner classes inherited from class org.springframework.jdbc.core.SqlParameter
SqlParameter.ResultReaderStoredProcImpl

Constructor Summary
SqlOutParameter(String name, int type)
           
SqlOutParameter(String name, int type, String typeName)
           
SqlOutParameter(String name, int type, RowCallbackHandler rch)
           
SqlOutParameter(String name, int type, RowMapper rm, int rowsExpected)
           
SqlOutParameter(String name, int type, RowMapper rm)
           

Method Summary
 RowCallbackHandlergetRowCallbackHandler()
           
 booleanisResultSetSupported()
           
 booleanisRowMapperSupported()
           

Methods inherited from class org.springframework.jdbc.core.SqlParameter
getName, getSqlType, getTypeName, sqlTypesToAnonymousParameterList

Constructor Detail

SqlOutParameter

public SqlOutParameter(String name, int type)

SqlOutParameter

public SqlOutParameter(String name, int type, String typeName)

SqlOutParameter

public SqlOutParameter(String name, int type, RowCallbackHandler rch)

SqlOutParameter

public SqlOutParameter(String name, int type, RowMapper rm, int rowsExpected)

SqlOutParameter

public SqlOutParameter(String name, int type, RowMapper rm)
Method Detail

getRowCallbackHandler

public RowCallbackHandler getRowCallbackHandler()

isResultSetSupported

public boolean isResultSetSupported()

isRowMapperSupported

public boolean isRowMapperSupported()

Association Links

to Class org.springframework.jdbc.core.RowCallbackHandler

to Class org.springframework.jdbc.core.RowMapper