Skip to content
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

Lift requirement that MappedSuperclass, Entity and Embeddable classes must be top-level classes #110

Closed
lukasj opened this issue May 21, 2015 · 4 comments

Comments

@lukasj
Copy link
Contributor

lukasj commented May 21, 2015

Currently, JPA Specification 2.1, section 2.1, paragraph 3, states:

The entity class must be a top-level class

The section on @embeddable classes, in turn, refers to that section.
It is my assumption that it would be quite safe also to allow static nested classes without posing too much problems to implementations.
So, I suggest to lift that requirement such that static nested classes are allowed as entities and/or embeddables.

Environment

all

@lukasj
Copy link
Contributor Author

lukasj commented May 21, 2015

@glassfishrobot Commented
Reported by flutter

@lukasj
Copy link
Contributor Author

lukasj commented May 5, 2017

@glassfishrobot Commented
This issue was imported from java.net JIRA JPA_SPEC-110

@lukasj
Copy link
Contributor Author

lukasj commented Aug 31, 2018

@gavinking
Copy link
Contributor

This is being done as part of #380. So this issue could be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants