Package | Description |
---|---|
com.moandjiezana.uncommons.dbutils |
Modifier and Type | Method and Description |
---|---|
static QueryRunner |
QueryRunner.create(Connection connection)
try (Connection connection = DriverManager.getConnection(jdbcUrl)) {
QueryRunner queryRunner = QueryRunner.create(connection);
}
|
QueryRunner |
QueryRunner.initializeWith(ConsumerWithException<Connection> initializer) |
Modifier and Type | Method and Description |
---|---|
void |
QueryRunner.tx(BiConsumerWithException<QueryRunner,QueryRunner.Transaction> txQueryRunner)
Provides a
QueryRunner that can be used in a transaction. |
Copyright © 2014. All rights reserved.