Sha256: 06bb27ed1dcdefe6e74716c563f32dc509d8ec4d9eacc5d00b693011e148d10c

Contents?: true

Size: 559 Bytes

Versions: 15

Compression:

Stored size: 559 Bytes

Contents

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package jdbc_adapter;

import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;

/**
 *
 * @author nicksieger
 */
public abstract class SQLBlock {
    abstract Object call(Connection c) throws SQLException;

    public void close(Statement statement) {
        RubyJdbcConnection.close(statement);
    }

    public void close(ResultSet resultSet) {
        RubyJdbcConnection.close(resultSet);
    }
}

Version data entries

15 entries across 15 versions & 4 rubygems

Version Path
saturnflyer-activerecord-jdbc-adapter-0.9.3 src/java/jdbc_adapter/SQLBlock.java
kb-activerecord-jdbc-adapter-0.9.7.1-java src/java/jdbc_adapter/SQLBlock.java
activerecord-jdbc-adapter-0.9.7-java src/java/jdbc_adapter/SQLBlock.java
activerecord-jdbc-adapter-0.9.6-java src/java/jdbc_adapter/SQLBlock.java
activerecord-jdbc-adapter-0.9.5-java src/java/jdbc_adapter/SQLBlock.java
activerecord-jdbc-adapter-0.9.4-java src/java/jdbc_adapter/SQLBlock.java
activerecord-jdbc-adapter-0.9.3-java src/java/jdbc_adapter/SQLBlock.java
jpzwarte-activerecord-jdbc-adapter-0.9.2.6 src/java/jdbc_adapter/SQLBlock.java
jpzwarte-activerecord-jdbc-adapter-0.9.2.5 src/java/jdbc_adapter/SQLBlock.java
jpzwarte-activerecord-jdbc-adapter-0.9.2.4 src/java/jdbc_adapter/SQLBlock.java
jpzwarte-activerecord-jdbc-adapter-0.9.2.3 src/java/jdbc_adapter/SQLBlock.java
jpzwarte-activerecord-jdbc-adapter-0.9.2.2 src/java/jdbc_adapter/SQLBlock.java
jpzwarte-activerecord-jdbc-adapter-0.9.2.1 src/java/jdbc_adapter/SQLBlock.java
activerecord-jdbc-adapter-0.9.2 src/java/jdbc_adapter/SQLBlock.java
activerecord-jdbc-adapter-0.9.1 src/java/jdbc_adapter/SQLBlock.java