Hi, I am a little confused as to what and how the update method does when I call it? I have been pondering it and reading about it on the net and still unsure and wondered if someone could help. I have listed a number of scenarios below along with what I expect to happen:
1. When I read data from my table and and MAKE changes to that pojo data, then call the update method will the updated data persist in the table? Answer: Yes
2. When I read data from my table and ADD new pojo data to the existing collection, then call the update method will the new data persist along with the old data in the table? Answer: I expect so?
3. Both points 1. and 2. Answer: I expect so?
Hope this is understandable and someone can help with this.
Cheers, Paul
|