SessionConnectionDeprecation
NOTE: this task is in rough form and needs further analysis
Task Description:
Session.connection() has been deprecated in future versions of Hibernate. We need to come up with a different connection propagation strategy.
Related Links:
Options:
Use Spring
Use whatever propagation model we are using for Spring beans (TODO: need to look at code to find out what we're doing here)
Create a connection pool bean instance in Spring