-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add accessor for PU name to EntityManagerFactory #503
Comments
It is useful especially for some types of tests when devs spend time by investigating a "magic" when they just could use |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Every persistence unit has a well-defined name in JPA.
So it would make sense to let you access it via
EntityManagerFactory.getPersistenceUnitName()
or even justEntityManagerFactory.getName()
.This likely quite useful for generic (framework) code.
The text was updated successfully, but these errors were encountered: