ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eugeny N Dzhurinsky <eugeny...@jdevelop.com>
Subject Re: [JNDI] datasource on remote server
Date Wed, 26 Oct 2005 07:19:00 GMT
On Tue, Oct 25, 2005 at 10:23:54AM -0500, Jeff Butler wrote:
> Hmmm...another undocumented feature :(
>  From browsing through the source code, it looks like you can do this:
>  <dataSource type="JNDI">
>  <property name="DataSource" value="somevalue"/>
>  <property name="context.java.naming.provider.url"
> value="urlToYourProvider"/>
> </dataSource>
>  Any property with the prefix "context." will be passed to the constructor
> of the InitialContext. Try it and let us know if it works - and then maybe
> write a FAQ entry on the WIKI.

Excellent, but which provider I should use? =)

-- 
Eugene N Dzhurinsky

Mime
View raw message