Remove sessionFactory and transactionManager from runtime Spring context; remove dependency on LocalSessionFactoryBean allowing JPA-originated Hibernate sessions to be used. Also remove dependency on LocalSessionFactoryBean-configured LobHandler which is not provided by the equivalent EntityManagerFactoryBean - custom LOB types now have hardcoded LobHandler instead.