HHH-8241 Reusing of scanner instance is impossible with Apache Aries JPA