Package net.ucanaccess.jdbc
Class UcanaccessStatement
java.lang.Object
net.ucanaccess.jdbc.UcanaccessStatement
- All Implemented Interfaces:
AutoCloseable,Statement,Wrapper
- Direct Known Subclasses:
UcanaccessPreparedStatement
-
Field Summary
FieldsFields 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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidcancel()protected voidvoidvoidvoidclose()voidbooleanbooleanbooleanbooleanint[]executeQuery(String _sql) intexecuteUpdate(String _sql) intexecuteUpdate(String _sql, int _autoGeneratedKeys) intexecuteUpdate(String _sql, int[] _indexes) intexecuteUpdate(String _sql, String[] _columnNames) intintintintbooleanbooleangetMoreResults(int _current) intintintintintbooleanisClosed()booleanbooleanbooleanisWrapperFor(Class<?> _iface) protected voidreset()protected voidprotected voidsetAliases(Map<String, String> _aliases) voidsetCursorName(String _name) voidsetEscapeProcessing(boolean _enable) voidsetFetchDirection(int _direction) voidsetFetchSize(int _rows) voidsetGeneratedKey(Object key) voidsetMaxFieldSize(int _max) voidsetMaxRows(int _max) voidsetPoolable(boolean _poolable) voidsetQueryTimeout(int _seconds) protected static final <T extends Throwable>
voidtryCatch(IThrowingRunnable<T> _catchable) protected static final <R,T extends Throwable>
RtryCatch(IThrowingSupplier<R, T> _catchable) <T> TMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.sql.Statement
enquoteIdentifier, enquoteLiteral, enquoteNCharLiteral, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, getLargeMaxRows, getLargeUpdateCount, isSimpleIdentifier, setLargeMaxRows
-
Field Details
-
wrapped
-
-
Constructor Details
-
UcanaccessStatement
-
-
Method Details
-
getAliases
-
setAliases
-
addBatch
- Specified by:
addBatchin interfaceStatement- Throws:
UcanaccessSQLException
-
cancel
- Specified by:
cancelin interfaceStatement- Throws:
UcanaccessSQLException
-
clearBatch
- Specified by:
clearBatchin interfaceStatement- Throws:
UcanaccessSQLException
-
clearWarnings
- Specified by:
clearWarningsin interfaceStatement- Throws:
UcanaccessSQLException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceStatement- Throws:
UcanaccessSQLException
-
closeOnCompletion
- Specified by:
closeOnCompletionin interfaceStatement- Throws:
UcanaccessSQLException
-
checkLastModified
- Throws:
UcanaccessSQLException
-
execute
- Specified by:
executein interfaceStatement- Throws:
UcanaccessSQLException
-
execute
- Specified by:
executein interfaceStatement- Throws:
UcanaccessSQLException
-
execute
- Specified by:
executein interfaceStatement- Throws:
UcanaccessSQLException
-
execute
- Specified by:
executein interfaceStatement- Throws:
UcanaccessSQLException
-
executeBatch
- Specified by:
executeBatchin interfaceStatement- Throws:
UcanaccessSQLException
-
executeQuery
- Specified by:
executeQueryin interfaceStatement- Throws:
UcanaccessSQLException
-
executeUpdate
- Specified by:
executeUpdatein interfaceStatement- Throws:
UcanaccessSQLException
-
executeUpdate
- Specified by:
executeUpdatein interfaceStatement- Throws:
UcanaccessSQLException
-
executeUpdate
- Specified by:
executeUpdatein interfaceStatement- Throws:
UcanaccessSQLException
-
executeUpdate
- Specified by:
executeUpdatein interfaceStatement- Throws:
UcanaccessSQLException
-
getConnection
- Specified by:
getConnectionin interfaceStatement
-
getFetchDirection
- Specified by:
getFetchDirectionin interfaceStatement- Throws:
UcanaccessSQLException
-
getFetchSize
- Specified by:
getFetchSizein interfaceStatement- Throws:
UcanaccessSQLException
-
getGeneratedKeys
- Specified by:
getGeneratedKeysin interfaceStatement- Throws:
UcanaccessSQLException
-
getMaxFieldSize
- Specified by:
getMaxFieldSizein interfaceStatement- Throws:
UcanaccessSQLException
-
getMaxRows
- Specified by:
getMaxRowsin interfaceStatement- Throws:
UcanaccessSQLException
-
getMoreResults
- Specified by:
getMoreResultsin interfaceStatement- Throws:
UcanaccessSQLException
-
getMoreResults
- Specified by:
getMoreResultsin interfaceStatement- Throws:
UcanaccessSQLException
-
getQueryTimeout
- Specified by:
getQueryTimeoutin interfaceStatement- Throws:
UcanaccessSQLException
-
getResultSet
- Specified by:
getResultSetin interfaceStatement- Throws:
UcanaccessSQLException
-
getResultSetConcurrency
- Specified by:
getResultSetConcurrencyin interfaceStatement- Throws:
UcanaccessSQLException
-
getResultSetHoldability
- Specified by:
getResultSetHoldabilityin interfaceStatement- Throws:
UcanaccessSQLException
-
getResultSetType
- Specified by:
getResultSetTypein interfaceStatement- Throws:
UcanaccessSQLException
-
getUpdateCount
- Specified by:
getUpdateCountin interfaceStatement- Throws:
UcanaccessSQLException
-
getWarnings
- Specified by:
getWarningsin interfaceStatement- Throws:
UcanaccessSQLException
-
isClosed
- Specified by:
isClosedin interfaceStatement- Throws:
UcanaccessSQLException
-
isCloseOnCompletion
- Specified by:
isCloseOnCompletionin interfaceStatement- Throws:
UcanaccessSQLException
-
isPoolable
- Specified by:
isPoolablein interfaceStatement- Throws:
UcanaccessSQLException
-
isWrapperFor
- Specified by:
isWrapperForin interfaceWrapper- Throws:
UcanaccessSQLException
-
setCursorName
- Specified by:
setCursorNamein interfaceStatement- Throws:
UcanaccessSQLException
-
setEscapeProcessing
- Specified by:
setEscapeProcessingin interfaceStatement- Throws:
UcanaccessSQLException
-
setFetchDirection
- Specified by:
setFetchDirectionin interfaceStatement- Throws:
UcanaccessSQLException
-
setFetchSize
- Specified by:
setFetchSizein interfaceStatement- Throws:
UcanaccessSQLException
-
setMaxFieldSize
- Specified by:
setMaxFieldSizein interfaceStatement- Throws:
UcanaccessSQLException
-
setMaxRows
- Specified by:
setMaxRowsin interfaceStatement- Throws:
UcanaccessSQLException
-
setPoolable
- Specified by:
setPoolablein interfaceStatement- Throws:
UcanaccessSQLException
-
setQueryTimeout
- Specified by:
setQueryTimeoutin interfaceStatement- Throws:
UcanaccessSQLException
-
unwrap
- Specified by:
unwrapin interfaceWrapper- Throws:
UcanaccessSQLException
-
reset
- Throws:
UcanaccessSQLException
-
reset
- Throws:
UcanaccessSQLException
-
setGeneratedKey
-
tryCatch
protected static final <T extends Throwable> void tryCatch(IThrowingRunnable<T> _catchable) throws UcanaccessSQLException - Throws:
UcanaccessSQLException
-
tryCatch
protected static final <R,T extends Throwable> R tryCatch(IThrowingSupplier<R, T> _catchable) throws UcanaccessSQLException- Throws:
UcanaccessSQLException
-