MCPcopy Index your code
hub / github.com/apache/groovy / getStatement

Method getStatement

subprojects/groovy-sql/src/main/java/groovy/sql/Sql.java:5048–5053  ·  view source on GitHub ↗
(Connection connection, String sql)

Source from the content-addressed store, hash-verified

5046 }
5047
5048 private Statement getStatement(Connection connection, String sql) throws SQLException {
5049 LOG.fine(sql);
5050 Statement stmt = getAbstractStatement(new CreateStatementCommand(), connection, sql);
5051 configure(stmt);
5052 return stmt;
5053 }
5054
5055 private PreparedStatement getPreparedStatement(Connection connection, String sql, List<?> params, int returnGeneratedKeys) throws SQLException {
5056 SqlWithParams updated = checkForNamedParams(sql, params);

Callers 6

queryMethod · 0.95
eachRowMethod · 0.95
executeMethod · 0.95
executeInsertMethod · 0.95
executeUpdateMethod · 0.95
runQueryMethod · 0.80

Calls 2

getAbstractStatementMethod · 0.95
configureMethod · 0.95

Tested by

no test coverage detected