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