0 Replies Latest reply on Jun 7, 2010 7:06 AM by sathishavunoori

    how do i use @version in entity beans?

    sathishavunoori

      hi to all,

       

      i am new to this topic ,
      i am developing an application using jboss seam framework.
      i need to develop optimistic lock in my application to restrict end user from concurrency updations of entity objects.
      while i am googling i got information that @version annotation is useful for this . but i don't know how do i use this @version annotation in entity beans.

       

      so can any one help me in this with some code examples related to this?

       


      thanks in advance for your help...
      sathish