Generic DataProvider via Hibernate ORM with Java 8 tricks