ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julio Faerman" <jfaer...@gmail.com>
Subject Check if query exists before executing
Date Wed, 18 Jun 2008 15:25:01 GMT
Hello,

I would like to know if is it possible to check if a query exists
before executing it.
For example, if i am using oracle and have a optimezed query for
oracle, i would like to run:

sqlMapClient.queryForList("myQuery.oracle");

if there is no special query for oracle, i would like to run just the
standard query:

sqlMapClient.queryForList("myQuery");

is it possible to do something like "sqlMapClient.exists/contais(query)" ?

Thank you,
Julio

Mime
View raw message