Can you explain why? Understanding this would help us provide an answer.
The problem here is that there is no direct mapping from a List to a ResultSet. Even if the List contained all of the same object and you wanted to map each of these to a row in the ResultSet, this still isn't straight forward. There are, however tools like ORM (object-relational mapping) tools that can do some of the work for you. Does this help?
Originally posted by abu alfouz: This is because I need the meta data from the result set.
It's not possible.You can get metadata information from ResultSets obtained as a result of execution.
If you have all the database credentials then why do not you follow the standard procedure to connect to the database and get the metadata information using JDBC. ;) [ July 26, 2007: Message edited by: Rahul Bhattacharjee ]
Originally posted by abu alfouz: Because I use Oracle TopLink to connect to database.
TopLink is an ORM that David was talking about. I have not used it , but I am sure that it has some way to give you the metadata information. If there is nothing in Toplink then whether TopLink allows simple JDBC query ?
Post by:autobot
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
a bit of art, as a gift, that will fit in a stocking