This is what I use and works for me. Downcast the Session methodobject into a SessionImpl and get the connection object easily:
SessionImpl sessionImpl = (SessionImpl) session;
Connection conn = sessionImpl.connection();
where session
is the name of your Hibernate session object.