0 Replies Latest reply on Apr 1, 2004 3:49 AM by hellomarc

    how to maintain jdbc cnx between two stateful call

    hellomarc Newbie

      This is a newbie question:

      In my stateful bean, i initialize a dao in the ejbCreate() method using a datasource.
      This dao is a property of my bean.
      After the return of the create method, the container generate a:
      [CachedConnectionManager] Successfully closed a connection for you. Please close them yourself: org.jboss.resource.adapter.jdbc.WrappedConnection@952905
      java.lang.Exception: Stack Trace

      Can anybody explain me how to disable this functionnality.
      What i want is to close "manually" my connexion in the remove() method.
      Thank's for your answer