2 Replies Latest reply on Aug 14, 2003 9:11 AM by Jiri Chaloupka

    how I can get established dataSource from non-ejb code?

    Jiri Chaloupka Newbie

      I have established datasource:
      11:50:21,484 INFO [IsspdOracleDS] Bound connection factory for resource adapter
      for ConnectionManager 'jboss.jca:service=LocalTxCM,name=IsspdOracleDS to JNDI name 'java:/IsspdOracleDS'

      and how I can get it, something as
      Datasource ds = getDataSource("IsspdOracleDS");
      Connection conn = ds.getConnection();

      This is non correct I now, but how to do it? I do not find any sample ...

      Thanks, Jiri
      BTW, is there any mailing list? ...