Hi Scott, I need something like that either. I have a instance of a
datasource already created and I want to make iBatis use this instance.
It's a DBCP instance. Is there anyway I can set it, without using XML
(since iBatis will instantiate a new one)?

Thanks,

Eduardo.

Em Ter, 2005-03-01 �s 17:38 -0500, Scott Zhu escreveu:
> I guess the problem I'm trying to solve is that I don't have a
> pre-defined property file I can include in the sqlMapConfig.xml as the
> resource. But some of my properties in there need to be parameterized.
> For example, the DataSource value, I will fetch it from a
> configuration server at runtime. So my question is, is there a way
> that I can feed this information into the sqlMapConfig map as I build
> my sqlMapClient instance? Thanks for your help.
> 

Reply via email to