java fetching DataBase Column Comment -


i using jdbc want databse column comment, way fetch database column comment using resultsetmetadata not show option

you can info resultset metadata. see resultsetmetadata

e.g.

resultset rs = stmt.executequery("select a, b, c table2"); resultsetmetadata rsmd = rs.getmetadata(); string name = rsmd.getcolumnname(1); 

and can column name there. if do

select x y table 

then rsmd.getcolumnlabel() retrieved label name too. hope ....


Comments

Popular posts from this blog

c++ - How to add Crypto++ library to Qt project -

jQuery Mobile app not scrolling in Firefox -

How to use vim as editor in Matlab GUI -