2 Replies Latest reply on Nov 28, 2006 7:51 AM by Denis Etienne

    no-tx-datassource and required transaction type

    Denis Etienne Newbie

      Hello,

      In our project, we have defined a datasource using no-tx-datasource.

      A client component does a remote call to a session bean method declared with

      <trans-attribute>Required</trans-attribute>


      In this session bean method, the datasource (no-tx) is obtained through JNDI, a connection is used to create a statement and call to s.executeUpdate is done.

      We expected JBoss to be very noisy/angry about the Required-transaction method using a no-tx-datasource.

      But nothing happened, can you explain ? please.
      Thanks.
      Denis.