org.codehaus.groovy.runtime
Class SqlGroovyMethods
java.lang.Object
org.codehaus.groovy.runtime.SqlGroovyMethods
public class SqlGroovyMethods
- extends Object
This class defines all the new SQL-related groovy methods which enhance
the normal JDK SQL classes when inside the Groovy environment.
Static methods are used with the first parameter the destination class.
- Author:
- Paul King
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SqlGroovyMethods
public SqlGroovyMethods()
toRowResult
public static GroovyRowResult toRowResult(ResultSet rs)
throws SQLException
- Returns a GroovyRowResult given a ResultSet.
- Parameters:
rs - a ResultSet
- Returns:
- the resulting GroovyRowResult
- Throws:
SQLException - if a database error occurs- Since:
- 1.6.0