Package org.knowm.yank.handlers
Class InsertedIDResultSetHandler
java.lang.Object
org.knowm.yank.handlers.InsertedIDResultSetHandler
- All Implemented Interfaces:
org.apache.commons.dbutils.ResultSetHandler<Long>
public class InsertedIDResultSetHandler
extends Object
implements org.apache.commons.dbutils.ResultSetHandler<Long>
This gets the long value representing the auto-assigned primary key id from the ResultSet object
generated from inserting a row.
- Author:
- timmolter
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
InsertedIDResultSetHandler
public InsertedIDResultSetHandler()
-
-
Method Details
-
handle
- Specified by:
handle
in interfaceorg.apache.commons.dbutils.ResultSetHandler<Long>
- Throws:
SQLException
-