mnimer / dphibernate

Automatically exported from code.google.com/p/dphibernate
0 stars 0 forks source link

Issue in your example code "SpingSample" #33

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Checking it out and run it
2. resetDB -> load carts -> click on cart -> click on Item
3. then modify the name of the shown item -> save Item

What is the expected output? What do you see instead?

after that the cart list loads again. If I click on the same cart the items
name did not change !

What version of the product are you using? On what operating system?

Windows XP, newest build of the dphibernate JAR. 

Please provide any additional information below.

the method on the server to "merge" the modified item gets called.
everything right. if the item is refreshed from the client the old one
(still in the database gets passed forward). 

the only solution I got so far is to call explicitly in the DAO
sessionTemplate.flush(). But if I modify a lot of objects the performance
would go down in that case.

Original issue reported on code.google.com by henning2...@hotmail.de on 11 Jul 2009 at 4:50

GoogleCodeExporter commented 9 years ago

Original comment by martypit...@gtempaccount.com on 15 Mar 2011 at 3:31