On 2 December 2016 at 16:49, Steve Ebersole <[email protected]> wrote: > But on Java 6 there is the hack we used to use. Using Closeable instead and > Java 8 recognizing that as well.
Right, I added that as comment on JPA_SPEC-77. > > On Fri, Dec 2, 2016 at 10:48 AM Steve Ebersole <[email protected]> wrote: >> >> +1 >> >> we should start collecting a list. And voila: >> https://github.com/hibernate/hibernate-orm/wiki/Post-JPA-2.1-proposals-working-doc >> :) >> >> On Fri, Dec 2, 2016 at 10:31 AM Sanne Grinovero <[email protected]> >> wrote: >>> >>> We updated several Hibernate APIs to allow using the >>> try-with-resources pattern a while back, >>> and I've been finding that quite handy. >>> >>> Had to write some code using JPA's EntityManager these days; in >>> contrast it feels it's stuck somewhere between the stone age and the >>> dark ages to not be able to do the same. >>> >>> Should we propose the same API fixes to the JPA expert group? >>> >>> Thanks, >>> Sanne >>> _______________________________________________ >>> hibernate-dev mailing list >>> [email protected] >>> https://lists.jboss.org/mailman/listinfo/hibernate-dev _______________________________________________ hibernate-dev mailing list [email protected] https://lists.jboss.org/mailman/listinfo/hibernate-dev
