1 Reply Latest reply on Mar 26, 2008 6:29 AM by jhalliday

    Transaction commit option in cluster

    itayby

      Hi

      I have a clustered JBOSS 4.0.4 server deployed with EJB 2.1 using MySql Database.
      My commit-option is set to A
      I want to add a new entity bean that will be updated/inserted/deleted a lot.
      In the documentation it says

      "Currently there is no distributed locking capability for entity beans within the cluster. This functionality has been delegated to the database and must be supported by the application developer. For clustered entity beans, it is suggested to use commit-option B or C in combination with a row locking mechanism."

      My question is can I set the commit-option to B only on the new entity bean, and have all other beans stay at A?

      Thanks, Itay