Java SQL ResultSet Read getMetaData(ResultSet rs)

Here you can find the source of getMetaData(ResultSet rs)

Description

get Meta Data

License

Open Source License

Declaration

public static ResultSetMetaData getMetaData(ResultSet rs) throws SQLException 

Method Source Code


//package com.java2s;
//License from project: Open Source License 

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

public class Main {

    public static ResultSetMetaData getMetaData(ResultSet rs) throws SQLException {
        ResultSetMetaData rsmd = rs.getMetaData();
        return rsmd;
    }//w  w w. j  av a 2s  . c  o m
}

Related

  1. getLocalDate(ResultSet res, String name)
  2. getLocalDate(ResultSet rs, String columnName)
  3. getMap(ResultSet resultSet)
  4. getMap(ResultSet resultSet)
  5. getMap(ResultSet rs, ResultSetMetaData metaData, int cols_len)
  6. getNullable(final ResultSet resultSet, final T value)
  7. getNullableBooleanFromResultSet(ResultSet rset, Enum field)
  8. getNullableByte(ResultSet resultSet, String columnLabel)
  9. getNullableInt(ResultSet resultSet, String column, int fallback)