We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In JPA there is ElementCollection to embed a collection of embeddable elements in the Entity, if possible add such a feature in NoSQL.
The text was updated successfully, but these errors were encountered:
Hey @hantsy
We can already do it:
@Entity public class OlympusGod { @Id private Long id; @Column private String name; @Column private Set<String> powers; }
You can also explore subdocuments such as on MongoDB:
@Entity public class Car { @Id private Long id; @Column private String name; @Column private Set<Piece> pieces; } @Entity public class Piece { @Column private String name; @Column private Integer year; }
Is that what you are looking for?
Sorry, something went wrong.
No branches or pull requests
In JPA there is ElementCollection to embed a collection of embeddable elements in the Entity, if possible add such a feature in NoSQL.
The text was updated successfully, but these errors were encountered: