Quote:
What am I doing wrong please?
Kind of hard to answer that since you don't tell us what you are doing. How do you retrieve the object? Are you, for example, using Session.get(), Session.load(), a HQL query, a critera query, etc? What kind of failure do you get? Exceptions? Any log/debug output?
In any case, a single Session can only hold one reference to the same entity. Use Session.refresh() to re-read the info from the database into the same entity or Session.evict() to detach the first object from the session before you are trying to load it a second time.