public abstract class FndStandardStatement extends FndStatement
Note! This class does not depend on Oracle JDBC driver. Such code should be placed in FndOracleStatement.
This is a framework internal class! Backward compatibility is not guaranteed.
c, callable, DEFAULT_BUFFER_SIZE, log, parameters, result, stmt, utcCalendar
Modifier | Constructor and Description |
---|---|
protected |
FndStandardStatement(FndConnection fndConnection)
Creates a new instance of FndStandardStatement
|
Modifier and Type | Method and Description |
---|---|
protected void |
checkError(java.sql.SQLException e)
Check if the original error should be rethrown as some other kind of error.
|
protected void |
reportSqlError(java.sql.SQLException error)
Spool information about an SQL error to debug or standard output.
|
protected void |
spoolPlSqlTrace()
Spool trace from PlSql call to the database logger.
|
protected void |
updateBlob(int colNr,
byte[] value)
Update a BLOB
|
void |
updateBlob(int colNr,
FndInputStreamManager inputMgr)
Update a BLOB from an InputStream.
|
protected void |
updateClob(int colNr,
java.lang.String value)
Update a CLOB
|
abort, bindArguments, checkResult, clearFetchedSize, clearParameters, clearParameters, close, closeRefCursorStatement, debugNull, defineInOutParameter, defineInParameter, defineInParameter, defineOutParameter, defineParameter, defineRefCursorVariable, execute, execute, executeQuery, executeQuery, executeUpdate, formatSize, getBigDecimal, getBinary, getBinary, getBlob, getBoolean, getBufferSize, getBufferSize, getClob, getCursor, getDate, getDouble, getFetchedSize, getFndConnection, getFndCursor, getFndResult, getInt, getLong, getLongRaw, getLongText, getLongTextImpl, getMessage, getOutBigDecimal, getOutBoolean, getOutDate, getOutDouble, getOutInt, getOutLong, getOutLongRaw, getOutString, getOutTime, getOutTimestamp, getRefCursor, getResult, getSqlText, getString, getText, getTime, getTimestamp, isShortClobParameter, nativeSql, nativeSql, parameterWasNull, prepare, prepare, prepare, prepare, prepareCall, prepareCall, prepareStatement, prepareStatement, recreateLogger, registerOutParameter, resultWasNull, setDouble, setFetchSize, setMaxRows, setRecursive, setSpoolPlsqlTrace, setTimestamp, supportsDefineColumnType, toJavaSqlType
protected FndStandardStatement(FndConnection fndConnection)
fndConnection
- protected void checkError(java.sql.SQLException e) throws IfsException
checkError
in class FndStatement
e
- Original exception thrown from databaseIfsException
- May re-throw the exception.protected void updateBlob(int colNr, byte[] value) throws IfsException
colNr
- value
- IfsException
public void updateBlob(int colNr, FndInputStreamManager inputMgr) throws IfsException
colNr
- inputMgr
- IfsException
protected void updateClob(int colNr, java.lang.String value) throws IfsException
colNr
- value
- IfsException
protected final void spoolPlSqlTrace() throws IfsException
spoolPlSqlTrace
in class FndStatement
IfsException
protected final void reportSqlError(java.sql.SQLException error)
reportSqlError
in class FndStatement
error
- error to be reported