It's in jdbc2_0-stdext.jar (generally in lib/ext, but also
available independently from Sun as the JDBC 2 Optional Package).
Aaron
On Mon, 30 Oct 2000, Sergio Stateri Jr wrote:
> Hi, I find this sample from Jboss web site :
>
> Context ctx = new InitialContext();
> Connection conn = null;
> try {
> DataSource ds =
> (DataSource)ctx.lookup("java:comp/env/jdbc/OracleDB");
> conn = ds.getConnection();
> ...
> } catch(NamingException ne) {
> ...
> } catch(SQLException se) {
> ...
> } finally {
> if(conn != null)
> try {conn.close();} catch(SQLException e) {}
>
>
>
>
> Then I try to use this code and my javac can�t find DataSource
> class. Then I looked for it and I find a DataSource Class in Java Activation
> Framework 1.0.1, but it hasn�t the getConnection Class. Where is this
> DataSource Class ?
>
> Thanks in advance,
> Sergio Stateri Jr
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> Tesla Tecnologia
> Sao Paulo (SP) Brazil
>
>
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]