public final class VoidHandler extends Object implements JdbcSession.Handler<Void>
null
).
Useful handler when you're not interested in the result:
new JdbcSession(source) .sql("INSERT INTO foo (name) VALUES (?)") .set("Jeff Lebowski") .insert(new VoidHandler());
This class is thread-safe.
Constructor and Description |
---|
VoidHandler() |
public Void handle(ResultSet rset)
handle
in interface JdbcSession.Handler<Void>
rset
- The result set to processCopyright © 2012 jcabi.com. All Rights Reserved.