Skip to content

Embedded IDs Best Practice (MappedEntity vs ID) #2957

Answered by dstepanov
angus-clark asked this question in Q&A
Discussion options

You must be logged in to vote

Depends if you want in some cases JOIN an account or a club entity. See examples:

public class ShipmentId implements Serializable {

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@angus-clark
Comment options

Answer selected by angus-clark
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants