@Override public Reader getCharacterStream(String parameterName) throws SQLException { try { return _cstmt.getCharacterStream(parameterName); } catch (SQLException e) { onSqlException(e); throw e; } catch (RuntimeException e) { onRuntimeException(e); throw e; } }
/** Test of getCharacterStream method, of inteface java.sql.CallableStatement. */ public void testGetCharacterStream() throws Exception { println("getCharacterStream"); if (!isTestOutParameters()) { return; } CallableStatement stmt; String expResult = "getString"; Reader result = null; try { stmt = prepRegAndExec("{?= call cast('getString' as varchar)}", 1, Types.VARCHAR); result = stmt.getCharacterStream(1); } catch (Exception ex) { fail(ex.getMessage()); } }
public Reader getCharacterStream(String parameterName) throws SQLException { return passThru.getCharacterStream(parameterName); }
public Reader getCharacterStream(int parameterIndex) throws SQLException { return passThru.getCharacterStream(parameterIndex); }