ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cristiano Monteiro dos Santos <csan...@polimed.com.br>
Subject Appending strings to query
Date Mon, 19 Jun 2006 19:46:15 GMT
Hi again, guys.

I have another question: is it possible to append string snippets to the
iBATIS's xml queries? I mean, I have several databases, each of then
containing the same set of tables, following the schema
#databasename#:tb#customerid#user (not telling if it's right or wrong, it's
fact), and I want to execute the queries sometimes in one database,
sometimes in the other. Like this:

select f1, f2, f3

Resulting in the following query:
select f1, f2, f3

Where #databasename# and #customerid# are both attributes of the
parameterClass. Am I expecting too much?


View raw message