update « Test « JPA Q&A





1. Hibernate+Ehcache update breaks test suite    stackoverflow.com

We are moving from hibernate 3.2.1 to 3.5.6 and bringing along Ehcache 2.3. It seems like the updates break our full test suite (around 10k tests), in that at some point ...

2. Update works (junit test) but not persisted in database    forum.hibernate.org

I have the following problem: From the one moment on the other my updates and removes on my classes stopped to work. The strange thing is that it still works when I run my unit test -> update + get + check + remove + get + check. So in my junit tests everything seems ok, but when I look at ...

3. dirty property auto-update: test case?    forum.hibernate.org

Recently we debugged an issue where Hibernate 3.2 was storing automatically before a query because the object in question had 'dirty' properties (changed in RAM but not stored yet). I understand this is expected behavior under some criteria, in order to keep objects in sync, but there isn't much documentation I can find besides a FAQ reference (search for 'dirty') to ...

4. Test Results: 2nd Level Cache Updates & Stale Data    forum.hibernate.org

Newbie Joined: Thu Aug 07, 2008 4:23 am Posts: 5 Hibernate Version: 3.2.5 App Servers: WAS 6.1 + Glassfish V2 DB: Oracle10g and MySQL 5 All, Following on from my previous post: I have written a test application to demonstrate the problems I am having with the 2nd level cache when trying to update data. Can you guys please: 1) Let ...