Java SQL ResultSet Read getIndex(ResultSet rs, int index)

Here you can find the source of getIndex(ResultSet rs, int index)

Description

get Index

License

Open Source License

Declaration

public static int getIndex(ResultSet rs, int index) throws SQLException 

Method Source Code


//package com.java2s;

import java.sql.ResultSet;
import java.sql.SQLException;

public class Main {
    public static int getIndex(ResultSet rs, int index) throws SQLException {
        return rs.getInt(index);
    }/*from  w  w w.  j  a  v a 2 s . c om*/
}

Related

  1. getHeaders(ResultSetMetaData rsmd)
  2. getHighPrecisionString(ResultSet rs, int ix, int sql_type)
  3. getHtmlRows(ResultSet results)
  4. getHtmlTable(ResultSet results)
  5. getId(ResultSet key)
  6. getList(ResultSet resultSet, String columnLabel, Class clazz)
  7. getList(ResultSet rs)
  8. getListFromRS(Class clazz, ResultSet rs)
  9. getListMapFromResultSet(ResultSet rs)