[Opensource] JNDI Experimental?
Malcolm Wise
malcolm.wise at sde.eu.sony.com
Tue May 20 00:13:22 PDT 2003
Hi Rick,
Until recently I have been using JNDI for Sybase ASE 12. If you're using
Expresso 5.03 or greater I think (there may be a method [addJndi(ConfigJndi
myJndi)] missing in com.jcorporate.expresso.core.misc.ConfigJDBC in earlier
versions) it should work. Here's an example config entry:
<jdbc
driverType="datasource"
driver="com.sybase.jdbc2.jdbc.SybDriver"
url="java:comp/env/jdbc/myDB"
connectFormat="1"
login="myLoginId"
password="myPassword"
cache="y"
useNullOnCreate="y"
escapeHandler="com.jcorporate.expresso.core.db.DoubleQuoteEscapeHandler">
<jndi/>
</jdbc>
HTH,
Malc
> -----Original Message-----
> From: opensource-admin at jcorporate.com
> [mailto:opensource-admin at jcorporate.com]On Behalf Of Rick Goeltz
> Sent: 15 May 2003 13:30
> To: opensource at jcorporate.com
> Subject: [Opensource] JNDI Experimental?
>
>
> Gang:
>
> Is the use of JNDI for DB connections still experimental? Is
> there an
> example config file I can see? Any other tidbits of wisdom?
>
> Thanks!... Rick
>
> _______________________________________________
> Opensource mailing list
> Opensource at jcorporate.com
> http://mail.jcorporate.com/mailman/listinfo/opensource
> Archives: http://mail.jcorporate.com/pipermail/opensource/
*************************************************************************
The information contained in this message or any of its
attachments may be privileged and confidential and intended
for the exclusive use of the addressee. If you are not the
addressee any disclosure, reproduction, distribution or other
dissemination or use of this communication is strictly prohibited
*************************************************************************
More information about the Opensource
mailing list