public abstract class DefaultQueryHandler extends DefaultCommandHandler
handleableException, overloadResultRow, queryable, sql
Constructor and Description |
---|
DefaultQueryHandler(CommandAdapter cmdAdapter) |
Modifier and Type | Method and Description |
---|---|
<T> T |
run()
Execute the database command
|
checkSqlType, getCommandAdapter, postCallback, postCommit, postException, preCallback, with, with, with, with
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asCommand
public DefaultQueryHandler(CommandAdapter cmdAdapter)
public <T> T run()
CommandHandler
run
in interface CommandHandler
run
in class DefaultCommandHandler
T
- Generic type of return, example: rows affected by a command or list of objects.Copyright © 2012–2020 jkniv, copyleft code. All rights reserved.