File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Iterate through columns in tables.
Joined: Mar 10, 2009
Aug 30, 2011 03:13:58
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.
Joined: Oct 23, 2005
Aug 30, 2011 22:54:05
is your friend.
Down Home Country Coding with Scott Selikoff
It is sorta covered in the
JavaRanch Style Guide
subject: Iterate through columns in tables.
Present Database Field LIst
Help using OJB and Criteria.addLike()
Callable statement ...?
Basic question regarding Hibernate, Oracle and Sequence Numbers
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014