ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Larry Meadors" <lmead...@apache.org>
Subject Re: declarative - db schema
Date Sat, 11 Mar 2006 13:28:12 GMT
No, there really isn't anything like this in iBATIS, because we try
(as much as possible) to not mess with the SQL that you write.

What database are you using?

Many allow you to specify a default schema on the connection string,
or connect as the schema owner.

Larry


On 3/11/06, Gianluca Gaiotto <gianluca.gaiotto@gmail.com> 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
>
>
>

Mime
View raw message