0 Replies Latest reply on Apr 26, 2002 9:02 AM by tobias warneke

    cmp container datasource

    tobias warneke Newbie

      Is there a possibility to get a jdbc connection to the datasource the cmp 2.0 container is using without the datasource name/jndi reference?

      I am looking for a method like:

      context.getCMPContainerDatasource();

      My problem is that I have to access the datasource my cmp 2.0 entity beans are using to provide an optimized database search. This search is done within a session bean that is deployed in the same application.
      At the moment I use an env session bean entry to set the datasource name.

      please help