Morgan,
In the current connect tag you can get a DataSource from a Context
attribute. It would be nice if you could specify a data source using
the JNDI name, and have the connect tag do the jndi lookup directly.
i.e.
Context ctx = new InitialContext();
DataSource ds = (DataSource)ctx.lookup(jndiName);
Connection con = null;
if( userid == null )
con = ds.getConnection();
else
con = ds.getConnection(userid,password);
Regards,
Glenn
Morgan Delagrange wrote:
>
> Hi all,
>
> The docs are updated and JDBC is ready to roll. +1 to
> release now!
>
> Does anybody know how to add JDBC to the nightly
> build?
>
> - Morgan
>
> =====
> Morgan Delagrange
> Britannica.com
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - Buy the things you want at great prices! http://auctions.yahoo.com/
--
----------------------------------------------------------------------
Glenn Nielsen [EMAIL PROTECTED] | /* Spelin donut madder |
MOREnet System Programming | * if iz ina coment. |
Missouri Research and Education Network | */ |
----------------------------------------------------------------------
--
----------------------------------------------------------------------
Glenn Nielsen [EMAIL PROTECTED] | /* Spelin donut madder |
MOREnet System Programming | * if iz ina coment. |
Missouri Research and Education Network | */ |
----------------------------------------------------------------------