Beginner |
|
Joined: Tue Oct 25, 2005 2:44 am Posts: 20 Location: Sydney, Australia
|
This is a test of a single object (Order) which I retrieve, update a field (totalvalue) then save again to check the persistence of that field worked. If it depends on any other object I generally use EasyMock or nMock to reduce interdependancy on any external concerns.
Having said that, I've now read the hibernate 2.0.1 documentation which has explained that persistence is only done by the flush, commit or certain finds so I think what I'm seeking to do is impossible, and I'll just have to live with doing a flush.
Ah well.
|
|