Package org.apache.derby.impl.tools.ij
Class ijWarningResult
- java.lang.Object
-
- org.apache.derby.impl.tools.ij.ijResultImpl
-
- org.apache.derby.impl.tools.ij.ijWarningResult
-
- All Implemented Interfaces:
ijResult
class ijWarningResult extends ijResultImpl
This is an impl for just returning warnings from JDBC objects we don't want the caller to touch. They are already cleared from the underlying objects, doing clearSQLWarnings here is redundant.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.sql.SQLWarning
warn
-
Constructor Summary
Constructors Constructor Description ijWarningResult(java.sql.SQLWarning w)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearSQLWarnings()
java.sql.SQLWarning
getSQLWarnings()
-
Methods inherited from class org.apache.derby.impl.tools.ij.ijResultImpl
closeStatement, getColumnDisplayList, getColumnWidthList, getConnection, getException, getMultipleResultSets, getNextRowOfResultSet, getResultSet, getStatement, getUpdateCount, getVector, hasWarnings, isConnection, isException, isMulti, isMultipleResultSetResult, isNextRowOfResultSet, isResultSet, isStatement, isUpdateCount, isVector, toString
-
-
-
-
Method Detail
-
getSQLWarnings
public java.sql.SQLWarning getSQLWarnings()
- Specified by:
getSQLWarnings
in interfaceijResult
- Specified by:
getSQLWarnings
in classijResultImpl
-
clearSQLWarnings
public void clearSQLWarnings()
- Specified by:
clearSQLWarnings
in interfaceijResult
- Specified by:
clearSQLWarnings
in classijResultImpl
-
-