Converted normal JDBC connection to Hibernate Connection.