Posts by Michael Uhl • 1 point
1 post
-
0
votes3
answers813
viewsA: How to find Session in Hibernate 5.2.3.Final
I had a similar Issue and Solved it like this: change Session session = em.unwrap(Session.class); to TargetInstanceProxy<?> proxy = (TargetInstanceProxy<?>) em.unwrap(Session.class);…