Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Composite Primary key and JDBC

 
Vinod Chamoli
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,
I have to get the primary key information of a database using JDBC. If in a table there is only one column marked as primary key I can get it using ResultSetMetaData which has method to do so, but what in case if a table has composite key.
Thanks in advance,
Vinod
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic