| org.geotools.data.jdbc.JDBCRunnable
JDBCRunnable | public interface JDBCRunnable (Code) | | Runnable interface for code blocks to execute against a jdbc connection.
author: Justin Deoliveira, The Open Planning Project, jdeolive@openplans.org See Also: JDBCUtils.run(JDBCDataStoreJDBCRunnable) |
Method Summary | |
Object | run(Statement statement) Executes a block of code against a statement.
The block of code may return a value, or null . |
run | Object run(Statement statement) throws IOException, SQLException(Code) | | Executes a block of code against a statement.
The block of code may return a value, or null . Code must
not return an "jdbc" objects from this method as the statement is closed
after the block executes and all jdbc objects are released.
Parameters: statement - A jdbc statement. An arbitrary value, or null . throws: IOException - throws: SQLException - |
|
|