0 Replies Latest reply on Dec 12, 2002 2:43 AM by mstecker

    Simple JDBC connection without EJBs

    mstecker

      We use JBoss for a very simple servlet based application.
      It was originally designed to run on an older version of
      Tomcat, using simple JDBC-Connections without pooling.

      Now it should run on JBoss and use the JBoss connection pools. But if we do that we get log messages of the form "No transaction right now" when we aquire a new connection. Do we have to use UserTransactions to correctly use the connections we get from the connection pool or is it possible to use them similar to simple java.sql.Connection objects with explicitly controlling transactions e.g. with connection.commit()?

      Thanks
      Martin