ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Larry Meadors <larry.mead...@gmail.com>
Subject Re: Dynamic Database URL
Date Tue, 16 Aug 2005 19:24:09 GMT
You can pass in a properties object to the sqlmapclient builder that
is substituted into the sqlmapconfig.xml file.

But, you will need 3 instances of the SqlMap client..

Larry


On 8/16/05, Nathan Maves <Nathan.Maves@sun.com> wrote:
> Is there a way to dynamically change the db url based on a parameter
> passed in at run time?
> 
> 
> We have a program that needs to run against 3 different production
> databases.  The only thing changing is the DB URL.
> 
> Nathan
> 
>

Mime
View raw message