protected void setParameter ( PreparedStatement pPreparedStatement ) throws SQLException { if ( _parameters != null ) { for ( int i = 0 ; i < _parameters . size ( ) ; i ++ ) { pPreparedStatement . setObject ( i + 1 , _parameters . get ( i ) ) ; } } }
Is called before the CallabelStatement is executed . It is usually used to set parameters . The CallableStatement may not be executed . The default implementaion does nothing .