- cacheConnection(Closure) - Method in class groovy.sql.DataSet
-
- cacheConnection(Closure) - Method in class groovy.sql.Sql
-
Caches the connection used while the closure is active.
- cacheStatements(Closure) - Method in class groovy.sql.Sql
-
Caches every created preparedStatement in Closure closure
Every cached preparedStatement is closed after closure has been called.
- call(String) - Method in class groovy.sql.Sql
-
Performs a stored procedure call.
- call(GString) - Method in class groovy.sql.Sql
-
Performs a stored procedure call with the given embedded parameters.
- call(String, List<Object>) - Method in class groovy.sql.Sql
-
Performs a stored procedure call with the given parameters.
- call(String, Object[]) - Method in class groovy.sql.Sql
-
Performs a stored procedure call with the given parameters.
- call(String, List<Object>, Closure) - Method in class groovy.sql.Sql
-
Performs a stored procedure call with the given parameters.
- call(GString, Closure) - Method in class groovy.sql.Sql
-
Performs a stored procedure call with the given parameters,
calling the closure once with all result objects.
- callWithAllRows(GString, Closure) - Method in class groovy.sql.Sql
-
Performs a stored procedure call with the given parameters,
calling the closure once with all result objects,
and also returning a list of lists with the rows of the ResultSet(s).
- callWithAllRows(String, List<Object>, Closure) - Method in class groovy.sql.Sql
-
Performs a stored procedure call with the given parameters,
calling the closure once with all result objects,
and also returning a list of lists with the rows of the ResultSet(s).
- callWithRows(GString, Closure) - Method in class groovy.sql.Sql
-
Performs a stored procedure call with the given parameters,
calling the closure once with all result objects,
and also returning the rows of the ResultSet.
- callWithRows(String, List<Object>, Closure) - Method in class groovy.sql.Sql
-
Performs a stored procedure call with the given parameters,
calling the closure once with all result objects,
and also returning the rows of the ResultSet.
- callWithRows(String, List<Object>, int, Closure) - Method in class groovy.sql.Sql
-
Base internal method for call(), callWithRows(), and callWithAllRows() style of methods.
- CHAR - Static variable in class groovy.sql.Sql
-
- CHAR(Object) - Static method in class groovy.sql.Sql
-
- checkForNamedParams(String, List<Object>) - Method in class groovy.sql.Sql
-
- clear() - Method in class groovy.sql.GroovyRowResult
-
- clearBatch() - Method in class groovy.sql.BatchingStatementWrapper
-
- CLOB - Static variable in class groovy.sql.Sql
-
- CLOB(Object) - Static method in class groovy.sql.Sql
-
- close() - Method in class groovy.sql.BatchingStatementWrapper
-
- close() - Method in class groovy.sql.DataSet
-
- close() - Method in class groovy.sql.Sql
-
If this SQL object was created with a Connection then this method closes
the connection.
- closeResources(Connection, Statement, ResultSet) - Method in class groovy.sql.DataSet
-
- closeResources(Connection, Statement) - Method in class groovy.sql.DataSet
-
- closeResources() - Method in class groovy.sql.Sql.AbstractQueryCommand
-
After performing the execute operation and making use of its return, it's necessary
to free the resources allocated for the statement.
- closeResources(ResultSet) - Method in class groovy.sql.Sql.AbstractQueryCommand
-
After performing the execute operation and making use of its return, it's necessary
to free the resources allocated for the statement.
- closeResources(Connection, Statement, ResultSet) - Method in class groovy.sql.Sql
-
An extension point allowing derived classes to change the behavior
of resource closing.
- closeResources(Connection, Statement) - Method in class groovy.sql.Sql
-
An extension point allowing the behavior of resource closing to be
overridden in derived classes.
- closeResources(Connection) - Method in class groovy.sql.Sql
-
An extension point allowing the behavior of resource closing to be
overridden in derived classes.
- commit() - Method in class groovy.sql.DataSet
-
- commit() - Method in class groovy.sql.Sql
-
If this SQL object was created with a Connection then this method commits
the connection.
- configure(Statement) - Method in class groovy.sql.Sql
-
Provides a hook for derived classes to be able to configure JDBC statements.
- containsKey(Object) - Method in class groovy.sql.GroovyRowResult
-
Checks if the result contains (ignoring case) the given key.
- containsValue(Object) - Method in class groovy.sql.GroovyRowResult
-
- createConnection() - Method in class groovy.sql.DataSet
-
- createConnection() - Method in class groovy.sql.Sql
-
An extension point allowing derived classes to change the behavior of
connection creation.
- createPreparedQueryCommand(String, List<Object>) - Method in class groovy.sql.Sql
-
Factory for the PreparedQueryCommand command pattern object allows subclass to supply implementations
of the command class.
- createQueryCommand(String) - Method in class groovy.sql.Sql
-
Factory for the QueryCommand command pattern object allows subclasses to
supply implementations of the command class.
- createView(Closure) - Method in class groovy.sql.DataSet
-
- each(Closure) - Method in class groovy.sql.DataSet
-
Calls the provided closure for each of the rows of the table represented by this DataSet.
- each(int, int, Closure) - Method in class groovy.sql.DataSet
-
Calls the provided closure for a "page" of rows from the table represented by this DataSet.
- eachRow(Closure) - Method in interface groovy.sql.GroovyResultSet
-
Call the closure once for each row in the result set.
- eachRow(Closure) - Method in class groovy.sql.GroovyResultSetExtension
-
Call the closure once for each row in the result set.
- eachRow(String, Closure) - Method in class groovy.sql.Sql
-
Performs the given SQL query calling the given Closure with each row of the result set.
- eachRow(String, int, int, Closure) - Method in class groovy.sql.Sql
-
Performs the given SQL query calling the given closure
with each row of the result set starting at
the provided offset
, and including up to maxRows
number of rows.
- eachRow(String, Closure, Closure) - Method in class groovy.sql.Sql
-
Performs the given SQL query calling the given rowClosure
with each row of the
result set.
- eachRow(String, Closure, int, int, Closure) - Method in class groovy.sql.Sql
-
Performs the given SQL query calling the given rowClosure
with each row of the result set starting at
the provided offset
, and including up to maxRows
number of rows.
- eachRow(String, List<Object>, Closure, int, int, Closure) - Method in class groovy.sql.Sql
-
Performs the given SQL query calling the given rowClosure
with each row of the result set starting at
the provided offset
, and including up to maxRows
number of rows.
- eachRow(String, Map, Closure, int, int, Closure) - Method in class groovy.sql.Sql
-
- eachRow(Map, String, Closure, int, int, Closure) - Method in class groovy.sql.Sql
-
- eachRow(String, List<Object>, Closure, Closure) - Method in class groovy.sql.Sql
-
Performs the given SQL query calling the given Closure with each row of the result set.
- eachRow(String, Map, Closure, Closure) - Method in class groovy.sql.Sql
-
- eachRow(Map, String, Closure, Closure) - Method in class groovy.sql.Sql
-
- eachRow(String, List<Object>, Closure) - Method in class groovy.sql.Sql
-
Performs the given SQL query calling the given Closure with each row of the result set.
- eachRow(String, Map, Closure) - Method in class groovy.sql.Sql
-
- eachRow(Map, String, Closure) - Method in class groovy.sql.Sql
-
- eachRow(String, List<Object>, int, int, Closure) - Method in class groovy.sql.Sql
-
Performs the given SQL query calling the given closure
with each row of the result set starting at
the provided offset
, and including up to maxRows
number of rows.
- eachRow(String, Map, int, int, Closure) - Method in class groovy.sql.Sql
-
- eachRow(Map, String, int, int, Closure) - Method in class groovy.sql.Sql
-
- eachRow(GString, Closure, Closure) - Method in class groovy.sql.Sql
-
Performs the given SQL query calling the given Closure with each row of the result set.
- eachRow(GString, Closure, int, int, Closure) - Method in class groovy.sql.Sql
-
Performs the given SQL query calling the given closure
with each row of the result set starting at
the provided offset
, and including up to maxRows
number of rows.
- eachRow(GString, int, int, Closure) - Method in class groovy.sql.Sql
-
Performs the given SQL query calling the given closure
with each row of the result set starting at
the provided offset
, and including up to maxRows
number of rows.
- eachRow(GString, Closure) - Method in class groovy.sql.Sql
-
Performs the given SQL query calling the given Closure with each row of the result set.
- entrySet() - Method in class groovy.sql.GroovyRowResult
-
- equals(Object) - Method in class groovy.sql.GroovyRowResult
-
- execute() - Method in class groovy.sql.Sql.AbstractQueryCommand
-
Execute the command that's defined by the subclass following
the Command pattern.
- execute(String) - Method in class groovy.sql.Sql
-
Executes the given piece of SQL.
- execute(String, Closure) - Method in class groovy.sql.Sql
-
Executes the given piece of SQL.
- execute(String, List<Object>) - Method in class groovy.sql.Sql
-
Executes the given piece of SQL with parameters.
- execute(String, List<Object>, Closure) - Method in class groovy.sql.Sql
-
Executes the given piece of SQL with parameters.
- execute(Map, String) - Method in class groovy.sql.Sql
-
- execute(Map, String, Closure) - Method in class groovy.sql.Sql
-
- execute(String, Object[]) - Method in class groovy.sql.Sql
-
Executes the given piece of SQL with parameters.
- execute(String, Object[], Closure) - Method in class groovy.sql.Sql
-
Executes the given piece of SQL with parameters.
- execute(GString) - Method in class groovy.sql.Sql
-
Executes the given SQL with embedded expressions inside.
- execute(GString, Closure) - Method in class groovy.sql.Sql
-
Executes the given SQL with embedded expressions inside.
- executeBatch() - Method in class groovy.sql.BatchingStatementWrapper
-
- executeInsert(String) - Method in class groovy.sql.Sql
-
Executes the given SQL statement (typically an INSERT statement).
- executeInsert(String, List<Object>) - Method in class groovy.sql.Sql
-
Executes the given SQL statement (typically an INSERT statement).
- executeInsert(String, List<Object>, List<String>) - Method in class groovy.sql.Sql
-
Executes the given SQL statement (typically an INSERT statement).
- executeInsert(Map, String) - Method in class groovy.sql.Sql
-
- executeInsert(Map, String, List<String>) - Method in class groovy.sql.Sql
-
- executeInsert(String, Object[]) - Method in class groovy.sql.Sql
-
Executes the given SQL statement (typically an INSERT statement).
- executeInsert(String, String[]) - Method in class groovy.sql.Sql
-
Executes the given SQL statement (typically an INSERT statement).
- executeInsert(String, String[], Object[]) - Method in class groovy.sql.Sql
-
Executes the given SQL statement (typically an INSERT statement).
- executeInsert(GString) - Method in class groovy.sql.Sql
-
Executes the given SQL statement (typically an INSERT statement).
- executeInsert(GString, List<String>) - Method in class groovy.sql.Sql
-
Executes the given SQL statement (typically an INSERT statement).
- executePreparedQuery(String, List<Object>) - Method in class groovy.sql.Sql
-
Useful helper method which handles resource management when executing a
prepared query which returns a result set.
- executeQuery(String) - Method in class groovy.sql.Sql
-
Useful helper method which handles resource management when executing a
query which returns a result set.
- executeUpdate(String) - Method in class groovy.sql.Sql
-
Executes the given SQL update.
- executeUpdate(String, List<Object>) - Method in class groovy.sql.Sql
-
Executes the given SQL update with parameters.
- executeUpdate(Map, String) - Method in class groovy.sql.Sql
-
- executeUpdate(String, Object[]) - Method in class groovy.sql.Sql
-
Executes the given SQL update with parameters.
- executeUpdate(GString) - Method in class groovy.sql.Sql
-
Executes the given SQL update with embedded expressions inside.
- expand(Object) - Static method in class groovy.sql.Sql
-
When using GString SQL queries, allows a variable to be expanded
in the Sql string rather than representing an sql parameter.
- ExpandedVariable - Interface in groovy.sql
-
Identifies a variable to be expanded into the
sql string rather than representing a placeholder.
- get(Object) - Method in class groovy.sql.GroovyRowResult
-
Find the property value for the given name (ignoring case).
- getAt(int) - Method in interface groovy.sql.GroovyResultSet
-
Supports integer-based subscript operators for accessing at numbered columns
starting at zero.
- getAt(String) - Method in interface groovy.sql.GroovyResultSet
-
Gets the value of the designated column in the current row
as an Object
.
- getAt(int) - Method in class groovy.sql.GroovyResultSetExtension
-
Supports integer based subscript operators for accessing at numbered columns
starting at zero.
- getAt(int) - Method in class groovy.sql.GroovyRowResult
-
Retrieve the value of the property by its index.
- getConnection() - Method in class groovy.sql.Sql
-
If this instance was created with a single Connection then the connection
is returned.
- getDataSource() - Method in class groovy.sql.Sql
-
- getImpl() - Method in class groovy.sql.GroovyResultSetProxy
-
Gets a proxy instance that can be used as GroovyResultSet.
- getMaxRows() - Method in class groovy.sql.Sql.AbstractQueryCommand
-
Get the maximum number of rows to return in the ResultSet
- getObject() - Method in interface groovy.sql.ExpandedVariable
-
- getOrderBy() - Method in class groovy.sql.SqlOrderByVisitor
-
- getParameters() - Method in class groovy.sql.DataSet
-
- getParameters(GString) - Method in class groovy.sql.Sql
-
Hook to allow derived classes to override behavior associated with
extracting params from a GString.
- getParameters() - Method in class groovy.sql.SqlWhereVisitor
-
- getParams() - Method in class groovy.sql.SqlWithParams
-
- getProperty(String) - Method in class groovy.sql.GroovyResultSetExtension
-
Gets the value of the designated column in the current row
of as an Object
.
- getProperty(String) - Method in class groovy.sql.GroovyRowResult
-
Retrieve the value of the property by its (case-insensitive) name.
- getProperty(String) - Method in class groovy.sql.ResultSetMetaDataWrapper
-
- getResultSet() - Method in class groovy.sql.GroovyResultSetExtension
-
Gets the current result set.
- getResultSetConcurrency() - Method in class groovy.sql.Sql
-
Gets the resultSetConcurrency for statements created using the connection.
- getResultSetHoldability() - Method in class groovy.sql.Sql
-
Gets the resultSetHoldability for statements created using the connection.
- getResultSetType() - Method in class groovy.sql.Sql
-
Gets the resultSetType for statements created using the connection.
- getSql() - Method in class groovy.sql.DataSet
-
- getSql() - Method in class groovy.sql.SqlWithParams
-
- getSqlOrderByVisitor() - Method in class groovy.sql.DataSet
-
- getSqlWhereVisitor() - Method in class groovy.sql.DataSet
-
- getType() - Method in interface groovy.sql.InParameter
-
The JDBC data type.
- getType() - Method in interface groovy.sql.OutParameter
-
Get the JDBC datatype for this parameter.
- getUpdateCount() - Method in class groovy.sql.Sql
-
- getUpdatedParams(List<Object>, List<Tuple>) - Method in class groovy.sql.Sql
-
- getValue() - Method in interface groovy.sql.InParameter
-
The object holding the data value.
- getWhere() - Method in class groovy.sql.SqlWhereVisitor
-
- groovy.sql - package groovy.sql
-
Groovy helper classes for working with SQL data as Groovy objects
- GroovyResultSet - Interface in groovy.sql
-
Represents an extent of objects
- GroovyResultSetExtension - Class in groovy.sql
-
GroovyResultSetExtension implements additional logic for ResultSet.
- GroovyResultSetExtension(ResultSet) - Constructor for class groovy.sql.GroovyResultSetExtension
-
Creates a GroovyResultSet implementation.
- GroovyResultSetProxy - Class in groovy.sql
-
GroovyResultSetProxy is used to create a proxy for GroovyResultSet.
- GroovyResultSetProxy(ResultSet) - Constructor for class groovy.sql.GroovyResultSetProxy
-
Creates a new proxy instance.
- GroovyResultSetProxy(GroovyResultSetExtension) - Constructor for class groovy.sql.GroovyResultSetProxy
-
Creates a new proxy instance with a custom extension.
- GroovyRowResult - Class in groovy.sql
-
Represents an extent of objects.
- GroovyRowResult(Map) - Constructor for class groovy.sql.GroovyRowResult
-
- REAL - Static variable in class groovy.sql.Sql
-
- REAL(Object) - Static method in class groovy.sql.Sql
-
- REF - Static variable in class groovy.sql.Sql
-
- REF(Object) - Static method in class groovy.sql.Sql
-
- remove(Object) - Method in class groovy.sql.GroovyRowResult
-
- reset() - Method in class groovy.sql.BatchingStatementWrapper
-
- results - Variable in class groovy.sql.BatchingStatementWrapper
-
- resultSet(int) - Static method in class groovy.sql.Sql
-
Create a new ResultSetOutParameter
- ResultSetMetaDataWrapper - Class in groovy.sql
-
This class defines a wrapper for accessing a specific column in ResultSetMetaData
.
- ResultSetMetaDataWrapper(ResultSetMetaData, int) - Constructor for class groovy.sql.ResultSetMetaDataWrapper
-
- ResultSetOutParameter - Interface in groovy.sql
-
A ResultSet out parameter.
- reverse() - Method in class groovy.sql.DataSet
-
Return a lazy-implemented reverse-ordered view of this DataSet.
- rollback() - Method in class groovy.sql.DataSet
-
- rollback() - Method in class groovy.sql.Sql
-
If this SQL object was created with a Connection then this method rolls back
the connection.
- rows() - Method in class groovy.sql.DataSet
-
Returns a List of all of the rows from the table a DataSet
represents.
- rows(int, int) - Method in class groovy.sql.DataSet
-
Returns a "page" of the rows from the table a DataSet represents.
- rows(String) - Method in class groovy.sql.Sql
-
Performs the given SQL query and return the rows of the result set.
- rows(String, int, int) - Method in class groovy.sql.Sql
-
Performs the given SQL query and return a "page" of rows from the result set.
- rows(String, Closure) - Method in class groovy.sql.Sql
-
Performs the given SQL query and return the rows of the result set.
- rows(String, int, int, Closure) - Method in class groovy.sql.Sql
-
Performs the given SQL query and return a "page" of rows from the result set.
- rows(String, List<Object>) - Method in class groovy.sql.Sql
-
Performs the given SQL query and return the rows of the result set.
- rows(Map, String) - Method in class groovy.sql.Sql
-
- rows(String, List<Object>, int, int) - Method in class groovy.sql.Sql
-
Performs the given SQL query and return a "page" of rows from the result set.
- rows(String, Map, int, int) - Method in class groovy.sql.Sql
-
- rows(Map, String, int, int) - Method in class groovy.sql.Sql
-
- rows(String, Object[]) - Method in class groovy.sql.Sql
-
Performs the given SQL query and return the rows of the result set.
- rows(String, Object[], int, int) - Method in class groovy.sql.Sql
-
Performs the given SQL query and return the rows of the result set.
- rows(String, List<Object>, Closure) - Method in class groovy.sql.Sql
-
Performs the given SQL query and return the rows of the result set.
- rows(String, Map, Closure) - Method in class groovy.sql.Sql
-
- rows(Map, String, Closure) - Method in class groovy.sql.Sql
-
- rows(String, List<Object>, int, int, Closure) - Method in class groovy.sql.Sql
-
Performs the given SQL query and return a "page" of rows from the result set.
- rows(String, Map, int, int, Closure) - Method in class groovy.sql.Sql
-
- rows(Map, String, int, int, Closure) - Method in class groovy.sql.Sql
-
- rows(GString, int, int) - Method in class groovy.sql.Sql
-
Performs the given SQL query and return a "page" of rows from the result set.
- rows(GString) - Method in class groovy.sql.Sql
-
Performs the given SQL query and return the rows of the result set.
- rows(GString, Closure) - Method in class groovy.sql.Sql
-
Performs the given SQL query and return the rows of the result set.
- rows(GString, int, int, Closure) - Method in class groovy.sql.Sql
-
Performs the given SQL query and return a "page" of rows from the result set.
- runQuery(Connection) - Method in class groovy.sql.Sql.AbstractQueryCommand
-
Perform the query.
- setCacheNamedQueries(boolean) - Method in class groovy.sql.Sql
-
Enables named query caching.
if cacheNamedQueries is true, cache is created and processed named queries will be cached.
- setCacheStatements(boolean) - Method in class groovy.sql.Sql
-
Enables statement caching.
if cacheStatements is true, cache is created and all created prepared statements will be cached.
- setEnableNamedQueries(boolean) - Method in class groovy.sql.Sql
-
Enables named query support:
if enableNamedQueries is true, queries with ':propname' and '?1.propname' style placeholders will be processed.
if enableNamedQueries is false, this feature will be turned off.
- setInternalConnection(Connection) - Method in class groovy.sql.Sql
-
Stub needed for testing.
- setMaxRows(int) - Method in class groovy.sql.Sql.AbstractQueryCommand
-
Set the maximum number of rows to return in the ResultSet
- setObject(PreparedStatement, int, Object) - Method in class groovy.sql.Sql
-
Strategy method allowing derived classes to handle types differently
such as for CLOBs etc.
- setParameters(List<Object>, PreparedStatement) - Method in class groovy.sql.Sql
-
Hook to allow derived classes to override behavior associated with
setting params for a prepared statement.
- setProperty(String, Object) - Method in class groovy.sql.GroovyResultSetExtension
-
Updates the designated column with an Object
value.
- setProperty(String, Object) - Method in class groovy.sql.ResultSetMetaDataWrapper
-
- setResultSetConcurrency(int) - Method in class groovy.sql.Sql
-
Sets the resultSetConcurrency for statements created using the connection.
- setResultSetHoldability(int) - Method in class groovy.sql.Sql
-
Sets the resultSetHoldability for statements created using the connection.
- setResultSetType(int) - Method in class groovy.sql.Sql
-
Sets the resultSetType for statements created using the connection.
- size() - Method in class groovy.sql.GroovyRowResult
-
- SMALLINT - Static variable in class groovy.sql.Sql
-
- SMALLINT(Object) - Static method in class groovy.sql.Sql
-
- sort(Closure) - Method in class groovy.sql.DataSet
-
Return a lazy-implemented re-ordered view of this DataSet.
- Sql - Class in groovy.sql
-
A facade over Java's normal JDBC APIs providing greatly simplified
resource management and result set handling.
- Sql(DataSource) - Constructor for class groovy.sql.Sql
-
Constructs an SQL instance using the given DataSource.
- Sql(Connection) - Constructor for class groovy.sql.Sql
-
Constructs an SQL instance using the given Connection.
- Sql(Sql) - Constructor for class groovy.sql.Sql
-
- sql - Variable in class groovy.sql.Sql.AbstractQueryCommand
-
- Sql.AbstractQueryCommand - Class in groovy.sql
-
- Sql.AbstractQueryCommand(String) - Constructor for class groovy.sql.Sql.AbstractQueryCommand
-
- SqlGroovyMethods - Class in org.codehaus.groovy.runtime
-
This class defines all the new SQL-related groovy methods which enhance
the normal JDK SQL classes when inside the Groovy environment.
- SqlGroovyMethods() - Constructor for class org.codehaus.groovy.runtime.SqlGroovyMethods
-
- SqlOrderByVisitor - Class in groovy.sql
-
- SqlOrderByVisitor() - Constructor for class groovy.sql.SqlOrderByVisitor
-
- SqlWhereVisitor - Class in groovy.sql
-
- SqlWhereVisitor() - Constructor for class groovy.sql.SqlWhereVisitor
-
- SqlWithParams - Class in groovy.sql
-
- SqlWithParams(String, List<Object>) - Constructor for class groovy.sql.SqlWithParams
-
- statement - Variable in class groovy.sql.Sql.AbstractQueryCommand
-
- STRUCT - Static variable in class groovy.sql.Sql
-
- STRUCT(Object) - Static method in class groovy.sql.Sql
-
- withBatch(Closure) - Method in class groovy.sql.DataSet
-
Performs the closure (containing batch operations) within a batch.
- withBatch(int, Closure) - Method in class groovy.sql.DataSet
-
Performs the closure (containing batch operations) within a batch.
- withBatch(Closure) - Method in class groovy.sql.Sql
-
Performs the closure (containing batch operations) within a batch.
- withBatch(int, Closure) - Method in class groovy.sql.Sql
-
Performs the closure (containing batch operations) within a batch using a given batch size.
- withBatch(String, Closure) - Method in class groovy.sql.Sql
-
Performs the closure (containing batch operations specific to an associated prepared statement)
within a batch.
- withBatch(int, String, Closure) - Method in class groovy.sql.Sql
-
Performs the closure (containing batch operations specific to an associated prepared statement)
within a batch using a given batch size.
- withInstance(String, Closure) - Static method in class groovy.sql.Sql
-
Invokes a closure passing it a new Sql instance created from the given JDBC connection URL.
- withInstance(String, Properties, Closure) - Static method in class groovy.sql.Sql
-
Invokes a closure passing it a new Sql instance created from the given JDBC connection URL and properties.
- withInstance(String, Properties, String, Closure) - Static method in class groovy.sql.Sql
-
Invokes a closure passing it a new Sql instance created from the given JDBC connection URL,
properties and driver classname.
- withInstance(String, String, String, Closure) - Static method in class groovy.sql.Sql
-
Invokes a closure passing it a new Sql instance created from the given JDBC connection URL, user and password.
- withInstance(String, String, String, String, Closure) - Static method in class groovy.sql.Sql
-
Invokes a closure passing it a new Sql instance created from the given JDBC connection URL.
- withInstance(String, String, Closure) - Static method in class groovy.sql.Sql
-
Invokes a closure passing it a new Sql instance created from the given JDBC connection URL.
- withInstance(Map<String, Object>, Closure) - Static method in class groovy.sql.Sql
-
Invokes a closure passing it a new Sql instance created from the given map of arguments.
- withStatement(Closure) - Method in class groovy.sql.Sql
-
Allows a closure to be passed in to configure the JDBC statements before they are executed.
- withTransaction(Closure) - Method in class groovy.sql.DataSet
-
- withTransaction(Closure) - Method in class groovy.sql.Sql
-
Performs the closure within a transaction using a cached connection.