0 Replies Latest reply on Feb 28, 2011 8:39 AM by Neha Malviya

    Getting inconsistent data because of two transactions.

    Neha Malviya Newbie

      Hi all,


      I have an entity which have lets say two attributes x=0, y=1. There are two transactions lets say T1 and T2. T1 and T2 starts and reads the value of x=0 and y=1. T1 changes the value of x to 1 and commit. T2 changes the value of y to 2 and commit. But finally the value of x of x is 0 anf y is 2. T2 overwites the latest value of x. So the values are no more in sync.

      I am using EJB 3.0, JBoss 4.2.3.