|
Java™ by example!
|
|
|
How do I programmatically get column information of a table?
You can get meta information on a table by invoking getMetaData on a connection. With the method getColumns, you get back a number of rows containing information about each column of a particular table. Check the api to see what you can query. Main.java:
outputs:
Further Information
Author of answer: Joris Van den Bogaert
Comments to this answer are only viewable by members. Login or become a member!
|
|
|
|
|