How to get the name of column in a table with JDBC?

Column name JDBC ResultSetMetaData interface comes with methods to know the metadata of a table. Metadata is knowing the number of columns, name of each column etc. Example (of column name JDBC) prints the first column name and all the column names of table Employee. Example on column name JDBC import java.sql.*; public class MetaData …

How to get the name of column in a table with JDBC? Read More »