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 "Rodriguez, Victor" <vr...@Intrado.com> on 2007/04/25 18:47:45 UTC

JDBC Metadata

Greetings...

Is it possible to access JDBC metadata through iBatis?  For example, if
I want to check to see if a particular table exists in a database?

Thanks in advance!

Victor

Re: JDBC Metadata

Posted by Jeff Butler <je...@gmail.com>.
iBATIS does not deal with database metadata at all.

On some systems you can do a query like "select * from systables where
table-name='sometable'", you could run that through iBATIS.  But even so,
it's probably better to write to the DatabaseMetaData interface - more
portable.

Jeff Butler



On 4/25/07, Rodriguez, Victor <vr...@intrado.com> wrote:
>
> Greetings...
>
> Is it possible to access JDBC metadata through iBatis?  For example, if
> I want to check to see if a particular table exists in a database?
>
> Thanks in advance!
>
> Victor
>