4 Replies Latest reply on Jun 1, 2011 12:30 PM by cdandoy

    Jboss-6 Final: Get "Connection is not associated with a managed connection" for Insert in Stateless Session Bean

    brand-neu

      Hi,

       

      • Stateless Session Bean use Hibernate (the same bean-code in Jboss-5.1GA is ok.!)
      • persistence.xml contains <jta-data-source> which mapped to a <local-tx-datasource>
      • SELECT Entities = fine, without any problems.
      • INSERT (persist) Entity ended with Error:

      WARN  [org.hibernate.util.JDBCExceptionReporter] (WorkerThread#1) SQL Error: 0, SQLState: null

      ERROR [org.hibernate.util.JDBCExceptionReporter] (WorkerThread#1) Connection is not associated with a managed connection.org.jboss.resource.adapter.jdbc.jdk6.WrappedConnectionJDK6@d93b15

      Why/what is changed in Jboss6? I haven't find any new hints for this Error, relevant with Jboss6

       

      Thank You for answers,

      Brand Neu