com.onewebsql.util.jdbc
Interface CallableStatementHandler<T>

All Known Implementing Classes:
MSSQLGetNextIdCallableStatementHandler

public interface CallableStatementHandler<T>

Returns the result of a CallableStatement statement which has out parameters.


Method Summary
 T getObject(CallableStatement callableStatement, boolean statementReturnedResultSet)
          Returns the result of a CallableStatement statement which has out parameters.
 

Method Detail

getObject

T getObject(CallableStatement callableStatement,
            boolean statementReturnedResultSet)
            throws SQLException
Returns the result of a CallableStatement statement which has out parameters.

Parameters:
callableStatement - callable statement
statementReturnedResultSet - true if the statement returned ResultSet, false otherwise (statement returned update count).
Returns:
result of SQL statement
Throws:
SQLException - if an exception is throws while retrieving out parameters


Copyright © 2011-2013 e-point SA. All Rights Reserved.