Browse Source
The EntityManager interface does not implement AutoCloseable until
JPA 3.1.
This commit therefore partially reverts 189e1afc6e
so that the
example code compiles with the supported JPA version.
See gh-22269
Closes gh-27886
pull/27896/head
Johannes Wengert
3 years ago
committed by
Sam Brannen
1 changed files with 10 additions and 4 deletions
Loading…
Reference in new issue