You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-java@ibatis.apache.org by "Rafiq, Adnan" <ar...@carreker.com> on 2005/10/10 21:08:00 UTC

Working with JDBC Metadata

I have a requirement where I want to display a list of all column from a given table. In JDBC, I would work directly with the ResultSetMetadata. How can I achieve the same using iBatis?

Re: Working with JDBC Metadata

Posted by Samael Cui <cr...@gmail.com>.
You can write a select stament of sqlmap by ibatis.Then you can use ibatis
API SqlMapClient.queryForList(String,String) get the List that you need.

2005/10/11, Rafiq, Adnan <ar...@carreker.com>:
>
> I have a requirement where I want to display a list of all column from a
> given table. In JDBC, I would work directly with the ResultSetMetadata. How
> can I achieve the same using iBatis?
>