• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Iterate through columns in tables.

 
Koos Kombuis
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

I'm a bit stuck here, I'm not that comfortable with SQL and would like to get a push into the right direction.

What I'm trying to do is, compare Java fields via reflection to those in an Oracle DB.

The reflection part isn't the problem though..

How will I go about it to get a table with a given name and loop through all the columns/fields inside the specified table?

Thanks in advance.
 
Scott Selikoff
author
Saloon Keeper
Posts: 4033
18
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
getMetaData is your friend.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic