Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#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.

     
    • priority: 5 --> 4