Java SQL ResultSet Long Read getLongValue(ResultSet rs, int valueIndex)

Here you can find the source of getLongValue(ResultSet rs, int valueIndex)

Description

get Long Value

License

Open Source License

Declaration

public static Object getLongValue(ResultSet rs, int valueIndex) throws SQLException 

Method Source Code


//package com.java2s;

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

public class Main {
    public static Object getLongValue(ResultSet rs, int valueIndex) throws SQLException {
        return rs.getString(valueIndex);
    }/*from  w w  w .  j a va  2 s .com*/
}

Related

  1. getLongFromResultSet(ResultSet rs, String field)
  2. getLongList(ResultSet resultSet, String columnName)
  3. getLongOrNull(ResultSet rs, String column)
  4. getLongString(ResultSet rs, int pos)
  5. getLongValue(ResultSet resultSet, int columnIndex)
  6. readLongFromResultSet(ResultSet rs, String column)