hello everybody
we are using struts, spring and hibernate although there are some problems occuring, specially one when i try to save in a struts action -
this is just a testcase but i want to load data and save the modified data again in one action - as i said just a test.
after removing all errors the actions seems to be doing what i want - except hibernate does not save the object.
my structure is the following:
group table - text table
from group to text there is a ony-to-many relation
when i get back the set i want to modify an item in the related text object and save the group item.
after saving i get back the correct item with the modified value but in the database the old value remains.
do i have to commit or something like that?
i think spring handles session and transactions by it own, doesn't it?
maybe somebody could help me in this case -
thanx in advance
greetinx
tuor


Reply With Quote