[hibernate-dev] AutoCloseable is great.. what about JPA?
christian.beikov at gmail.com
Sat Dec 3 03:04:08 EST 2016
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
More information about the hibernate-dev