2 Replies Latest reply on Oct 23, 2002 5:25 PM by ericcire

    How can I prevent database locking on reads?

    ericcire

      I have a statless session bean that reads from a table, and gets the connection from a datasource.

      When reading from the table, it locks the database. How can I prevent this? Do I need a new transaction attribute? Should I set a transaction attribute on the connection I get from the datasource? Do I need to edit the "commit-options" in standardjboss.xml?