[hibernate-dev] AutoCloseable is great.. what about JPA?

Christian Beikov christian.beikov at gmail.com
Sat Dec 3 03:04:08 EST 2016

Hey Jordan,

maybe what you are looking for is Blaze-Persistence Entity Views? 
Query caching should work since it builds on top of scalar queries, but 
lazy loading is something I don't support and honestly don't think will 


Am 02.12.2016 um 18:40 schrieb Jordan Gigov:
> One thing I think JPA is lacking is the ability to map read-only result classes,
> without annotating them as @Entity and making the provider expect
> table for them.
> ConstructorResult is a pretty hacky way of getting there and loses some of the
> benefits like lazy loading collections and in Hibernate's case query caching.
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev

More information about the hibernate-dev mailing list