Hi Alex,
Instead of closing and opening the session back, you can just call refresh method on sesion, so that object state will be refreshed from DB.
so instead of 4 and 5 steps in your code, you can just call,
session.refresh(dataObject);
Hope this works for you.
Regards
Valli