| Package | Description |
|---|---|
| org.tentackle.persist |
Persistence layer implementation.
|
| Modifier and Type | Method and Description |
|---|---|
StatementKey |
Query.createStatementKey(String sql)
Creates the statement key.
|
StatementKey |
PreparedStatementWrapper.getStatementKey()
Gets the statement key.
|
| Modifier and Type | Method and Description |
|---|---|
PreparedStatementWrapper |
ManagedConnection.createPreparedStatement(StatementKey statementKey,
String sql,
int resultSetType,
int resultSetConcurrency)
Creates a prepared statement.
|
PreparedStatementWrapper |
Db.getPreparedStatement(StatementKey stmtKey,
boolean alwaysPrepare,
int resultSetType,
int resultSetConcurrency,
Supplier<String> sqlSupplier)
Gets the prepared statement.
|
PreparedStatementWrapper |
ManagedConnection.getPreparedStatement(StatementKey statementKey,
boolean alwaysPrepare,
int resultSetType,
int resultSetConcurrency,
Supplier<String> sqlSupplier)
Gets a prepared statement.
The statement will be reused if already prepared. |
PreparedStatementWrapper |
Db.getPreparedStatement(StatementKey stmtKey,
boolean alwaysPrepare,
Supplier<String> sqlSupplier)
|
| Constructor and Description |
|---|
PreparedStatementWrapper(ManagedConnection con,
PreparedStatement stmt,
StatementKey statementKey,
String sql)
Creates a wrapper for a prepared statement.
|
Copyright © 2016 Krake Softwaretechnik. All rights reserved.