Is there any way to get the meta-data of a particular table even before executing select statement.
DatabaseMetaData md = connection.getMetaData();
You can learn a lot about tables from this DatabaseMetaData interface.