ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Lamey <cla...@localmatters.com>
Subject Re: non-code way to read properties from jndi?
Date Mon, 11 Sep 2006 21:48:17 GMT
On Mon, 2006-09-11 at 13:35 -0700, Reuben Firmin wrote:
> The sqlmap config has a <properties> attribute, which can be used to
> load common properties. Is there a way I can configure this to point
> at a jndi key? 
>  
> Alternatively, where does the properties object get built out in the
> sqlmap object tree, so that I can push values in from jndi?

If you're using Spring and the Spring SqlMapClientFactoryBean, you could
wire up something from JNDI against the SqlMapClientFactoryBean.

Cheers,
topher

Mime
View raw message