Interface SqlReturnType


  • public interface SqlReturnType
    Interface to be implemented for retrieving values for more complex database-specific types not supported by the standard CallableStatement.getObject method.

    Implementations perform the actual work of getting the actual values. They must implement the callback method getTypeValue which can throw SQLExceptions that will be caught and translated by the calling code. This callback method has access to the underlying Connection via the given CallableStatement object, if that should be needed to create any database-specific objects.

    Since:
    1.1
    Author:
    Thomas Risberg
    See Also:
    Types, CallableStatement.getObject(int), StoredProcedure.execute(java.util.Map)