Last active
January 14, 2021 15:22
-
-
Save jan-swiecki/5f5b0388bfc74a508d58718ad9d0a283 to your computer and use it in GitHub Desktop.
Hibernate session objects
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@PersistenceContext | |
private EntityManager entityManager; | |
org.hibernate.internal.SessionImpl s = (org.hibernate.internal.SessionImpl)entityManager.unwrap(org.hibernate.Session.class); | |
s.persistenceContext.collectionsByKey |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment