Menu

#6 Ibatis and Hibernate DAO semantics differ in locking policy

open
core (5)
4
2007-08-09
2006-07-04
elca-ams
No

In hibernate, deletion of a concurrently modified
entity causes an OptimisticLockingFailureException to
be thrown. In Ibatis, such a request suceeds.

Discussion

  • elca-ams

    elca-ams - 2006-07-10

    Logged In: YES
    user_id=1531707

    The Hibernate DAO no longer checks versions on delete, but
    the GenericRepository does.

    Nevertheless, unification of the approaches should be evaluated.

     
  • Philipp H. Oser

    Philipp H. Oser - 2007-08-09
    • priority: 5 --> 4
     

Log in to post a comment.