I needed to refactor a code to see if it can help me resolve my "Could not open Hibernate Session for transaction". I am currently trying to streamline the way thr