Package org.compiere.util
Interface CStatement
- All Superinterfaces:
AutoCloseable
,Statement
,Wrapper
- All Known Subinterfaces:
CCallableStatement
,CPreparedStatement
Interface to wrap and extend Statement.
This is use by
This is use by
ProxyFactory
and developer shouldn't use this class directly.- Author:
- Low Heng Sin
- See Also:
-
Field Summary
Fields inherited from interface java.sql.Statement
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO
-
Method Summary
Methods inherited from interface java.sql.Statement
addBatch, cancel, clearBatch, clearWarnings, close, closeOnCompletion, enquoteIdentifier, enquoteLiteral, enquoteNCharLiteral, execute, execute, execute, execute, executeBatch, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getLargeMaxRows, getLargeUpdateCount, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isCloseOnCompletion, isPoolable, isSimpleIdentifier, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setLargeMaxRows, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout
Methods inherited from interface java.sql.Wrapper
isWrapperFor, unwrap
-
Method Details
-
getSql
String getSql()Get Sql- Returns:
- sql
-
getRowSet
RowSet getRowSet()Execute Query- Returns:
- ResultSet or RowSet
- Throws:
SQLException
- See Also:
-
isClosed
- Specified by:
isClosed
in interfaceStatement
- Returns:
- boolean
- Throws:
SQLException
-
commit
- Throws:
SQLException
-
finalize
don't call this directly, invoke by finalizer thread- Throws:
Throwable
-