Use property files... look at e.g. http://www.mail-archive.com/[email protected]/msg02598.html

Regards,
Sven

Gianluca Gaiotto wrote:

Ciao,
can I specify the database schema in sqlMap, or elsewhere, but in a declarative way (without hard-coding it)? The problem is that we have several environments stages (dev, integration, test, production) , and therefore I have to configure the right schema for each environment... And I don't want to add the schema name prefix in front of each table name, but configuring a default db schema somewhere in an iBatis config file (and to have several config files, one for each environments).

Thanks
-Gianluca





Reply via email to