0 Replies Latest reply on Sep 17, 2007 4:28 AM by yehuda rajuan

    Please please help, can not close jdbc connection and contin

    yehuda rajuan Newbie

      Hi

      I have a connection using data source

      @Resource (mappedName="java:/OracleDS") protected DataSource oracleDS;
      oracleDS.getConnection();


      when i close the connection(connection.close()) i can not use my entity manager.
      I get "ResourceException: Transaction is not active".

      apparantly when i close the connection, my entity manager connection is also closed.

      how can I use JDBC connection, open and close it and still use entity manager.