java.lang.Object
org.itsallcode.jdbc.SimpleStatement
- All Implemented Interfaces:
AutoCloseable
Simple wrapper for a JDBC
Statement
.-
Method Details
-
executeBatch
Execute the batch statement.- Returns:
- array of update counts
- See Also:
-
addBatch
Add the SQL statement to the batch.- Parameters:
sql
- SQL statement- See Also:
-
getStatement
Get the underlyingStatement
.- Returns:
- the underlying
Statement
-
close
- Specified by:
close
in interfaceAutoCloseable
-