I got "could not initialize proxy - no Session" while trying to get a lazy loaded object. I got to know that is because my object is detached and I need to update it first. My question is why this works:I got "could not initialize proxy - no Session"