Package groovy.sql

Examples of groovy.sql.GroovyRowResult


        ResultSetMetaData metadata = rs.getMetaData();
        LinkedHashMap lhm = new LinkedHashMap(metadata.getColumnCount(), 1);
        for (int i = 1; i <= metadata.getColumnCount(); i++) {
            lhm.put(metadata.getColumnName(i), rs.getObject(i));
        }
        return new GroovyRowResult(lhm);
    }
View Full Code Here


        ResultSetMetaData metadata = rs.getMetaData();
        Map<String, Object> lhm = new LinkedHashMap<String, Object>(metadata.getColumnCount(), 1);
        for (int i = 1; i <= metadata.getColumnCount(); i++) {
            lhm.put(metadata.getColumnLabel(i), rs.getObject(i));
        }
        return new GroovyRowResult(lhm);
    }
View Full Code Here

TOP

Related Classes of groovy.sql.GroovyRowResult

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.