Sha256: e296b54fb5de1c8b7f0b5212d65d24f122a5052e6ce211921867d47b2384461a

Contents?: true

Size: 654 Bytes

Versions: 6

Compression:

Stored size: 654 Bytes

Contents

/*
 * A class to loosen restrictions on the PgResultSetMetaData class,
 * we need to be able to get the field and the method is currently set to "package".
 */
package org.postgresql.jdbc;

import java.sql.SQLException;
import org.postgresql.core.BaseConnection;
import org.postgresql.core.Field;
import org.postgresql.jdbc.PgResultSetMetaData;

public class PgResultSetMetaDataWrapper {

    private final PgResultSetMetaData metaData;

    public PgResultSetMetaDataWrapper(PgResultSetMetaData metaData) {
        this.metaData = metaData;
    }

    public Field getField(int i) throws SQLException {
        return this.metaData.getField(i);
    }
}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
activerecord-jdbc-adapter-52.1-java src/java/arjdbc/postgresql/PgResultSetMetaDataWrapper.java
activerecord-jdbc-adapter-51.2-java src/java/arjdbc/postgresql/PgResultSetMetaDataWrapper.java
activerecord-jdbc-adapter-50.2-java src/java/arjdbc/postgresql/PgResultSetMetaDataWrapper.java
activerecord-jdbc-adapter-52.0-java src/java/arjdbc/postgresql/PgResultSetMetaDataWrapper.java
activerecord-jdbc-adapter-51.1-java src/java/arjdbc/postgresql/PgResultSetMetaDataWrapper.java
activerecord-jdbc-adapter-50.1-java src/java/arjdbc/postgresql/PgResultSetMetaDataWrapper.java