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

Method createStatement

subprojects/groovy-sql/src/main/java/groovy/sql/Sql.java:4993–4998  ·  view source on GitHub ↗
(Connection connection)

Source from the content-addressed store, hash-verified

4991 }
4992
4993 private Statement createStatement(Connection connection) throws SQLException {
4994 if (resultSetHoldability == -1) {
4995 return connection.createStatement(resultSetType, resultSetConcurrency);
4996 }
4997 return connection.createStatement(resultSetType, resultSetConcurrency, resultSetHoldability);
4998 }
4999
5000 private static void handleError(Connection connection, Throwable t) throws SQLException {
5001 if (connection != null) {

Callers 2

withBatchMethod · 0.95
executeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected