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

The add repository command should support IdClass #6

Open
ivannov opened this issue Aug 9, 2015 · 0 comments
Open

The add repository command should support IdClass #6

ivannov opened this issue Aug 9, 2015 · 0 comments
Assignees

Comments

@ivannov
Copy link
Collaborator

ivannov commented Aug 9, 2015

At the moment the add repository command supports creating entities with simple primary keys, i.e. annotated with @id. However JPA provides the possibility to have compound IDs, where a class is annotated with @IdClass and then a field of this class is used as primary key.

The command should support that scenario as well. For more information on how to implement it, check the Forge mailing list discussion:
http://lists.jboss.org/pipermail/forge-dev/2015-August/004313.html

@doychin doychin self-assigned this Aug 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants