Following up on myself, I found references on the expert group and the issue: - https://java.net/jira/browse/JPA_SPEC-77
It seems it's not being considered for JPA 2.2 as it would break people on Java 6. On 2 December 2016 at 16:26, Sanne Grinovero <sa...@hibernate.org> 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 hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev