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
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
cancel()
protected void
void
void
void
close()
void
boolean
boolean
boolean
boolean
int[]
executeQuery
(String _sql) int
executeUpdate
(String _sql) int
executeUpdate
(String _sql, int _autoGeneratedKeys) int
executeUpdate
(String _sql, int[] _indexes) int
executeUpdate
(String _sql, String[] _columnNames) int
int
int
int
boolean
boolean
getMoreResults
(int _current) int
int
int
int
int
boolean
isClosed()
boolean
boolean
boolean
isWrapperFor
(Class<?> _iface) protected void
reset()
protected void
protected void
setAliases
(Map<String, String> _aliases) void
setCursorName
(String _name) void
setEscapeProcessing
(boolean _enable) void
setFetchDirection
(int _direction) void
setFetchSize
(int _rows) void
setGeneratedKey
(Object key) void
setMaxFieldSize
(int _max) void
setMaxRows
(int _max) void
setPoolable
(boolean _poolable) void
setQueryTimeout
(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> T
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
addBatch
in interfaceStatement
- Throws:
UcanaccessSQLException
-
cancel
- Specified by:
cancel
in interfaceStatement
- Throws:
UcanaccessSQLException
-
clearBatch
- Specified by:
clearBatch
in interfaceStatement
- Throws:
UcanaccessSQLException
-
clearWarnings
- Specified by:
clearWarnings
in interfaceStatement
- Throws:
UcanaccessSQLException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceStatement
- Throws:
UcanaccessSQLException
-
closeOnCompletion
- Specified by:
closeOnCompletion
in interfaceStatement
- Throws:
UcanaccessSQLException
-
checkLastModified
- Throws:
UcanaccessSQLException
-
execute
- Specified by:
execute
in interfaceStatement
- Throws:
UcanaccessSQLException
-
execute
- Specified by:
execute
in interfaceStatement
- Throws:
UcanaccessSQLException
-
execute
- Specified by:
execute
in interfaceStatement
- Throws:
UcanaccessSQLException
-
execute
- Specified by:
execute
in interfaceStatement
- Throws:
UcanaccessSQLException
-
executeBatch
- Specified by:
executeBatch
in interfaceStatement
- Throws:
UcanaccessSQLException
-
executeQuery
- Specified by:
executeQuery
in interfaceStatement
- Throws:
UcanaccessSQLException
-
executeUpdate
- Specified by:
executeUpdate
in interfaceStatement
- Throws:
UcanaccessSQLException
-
executeUpdate
- Specified by:
executeUpdate
in interfaceStatement
- Throws:
UcanaccessSQLException
-
executeUpdate
- Specified by:
executeUpdate
in interfaceStatement
- Throws:
UcanaccessSQLException
-
executeUpdate
- Specified by:
executeUpdate
in interfaceStatement
- Throws:
UcanaccessSQLException
-
getConnection
- Specified by:
getConnection
in interfaceStatement
-
getFetchDirection
- Specified by:
getFetchDirection
in interfaceStatement
- Throws:
UcanaccessSQLException
-
getFetchSize
- Specified by:
getFetchSize
in interfaceStatement
- Throws:
UcanaccessSQLException
-
getGeneratedKeys
- Specified by:
getGeneratedKeys
in interfaceStatement
- Throws:
UcanaccessSQLException
-
getMaxFieldSize
- Specified by:
getMaxFieldSize
in interfaceStatement
- Throws:
UcanaccessSQLException
-
getMaxRows
- Specified by:
getMaxRows
in interfaceStatement
- Throws:
UcanaccessSQLException
-
getMoreResults
- Specified by:
getMoreResults
in interfaceStatement
- Throws:
UcanaccessSQLException
-
getMoreResults
- Specified by:
getMoreResults
in interfaceStatement
- Throws:
UcanaccessSQLException
-
getQueryTimeout
- Specified by:
getQueryTimeout
in interfaceStatement
- Throws:
UcanaccessSQLException
-
getResultSet
- Specified by:
getResultSet
in interfaceStatement
- Throws:
UcanaccessSQLException
-
getResultSetConcurrency
- Specified by:
getResultSetConcurrency
in interfaceStatement
- Throws:
UcanaccessSQLException
-
getResultSetHoldability
- Specified by:
getResultSetHoldability
in interfaceStatement
- Throws:
UcanaccessSQLException
-
getResultSetType
- Specified by:
getResultSetType
in interfaceStatement
- Throws:
UcanaccessSQLException
-
getUpdateCount
- Specified by:
getUpdateCount
in interfaceStatement
- Throws:
UcanaccessSQLException
-
getWarnings
- Specified by:
getWarnings
in interfaceStatement
- Throws:
UcanaccessSQLException
-
isClosed
- Specified by:
isClosed
in interfaceStatement
- Throws:
UcanaccessSQLException
-
isCloseOnCompletion
- Specified by:
isCloseOnCompletion
in interfaceStatement
- Throws:
UcanaccessSQLException
-
isPoolable
- Specified by:
isPoolable
in interfaceStatement
- Throws:
UcanaccessSQLException
-
isWrapperFor
- Specified by:
isWrapperFor
in interfaceWrapper
- Throws:
UcanaccessSQLException
-
setCursorName
- Specified by:
setCursorName
in interfaceStatement
- Throws:
UcanaccessSQLException
-
setEscapeProcessing
- Specified by:
setEscapeProcessing
in interfaceStatement
- Throws:
UcanaccessSQLException
-
setFetchDirection
- Specified by:
setFetchDirection
in interfaceStatement
- Throws:
UcanaccessSQLException
-
setFetchSize
- Specified by:
setFetchSize
in interfaceStatement
- Throws:
UcanaccessSQLException
-
setMaxFieldSize
- Specified by:
setMaxFieldSize
in interfaceStatement
- Throws:
UcanaccessSQLException
-
setMaxRows
- Specified by:
setMaxRows
in interfaceStatement
- Throws:
UcanaccessSQLException
-
setPoolable
- Specified by:
setPoolable
in interfaceStatement
- Throws:
UcanaccessSQLException
-
setQueryTimeout
- Specified by:
setQueryTimeout
in interfaceStatement
- Throws:
UcanaccessSQLException
-
unwrap
- Specified by:
unwrap
in 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
-