Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

@embeddedid

@Embeddable
public class BookId implements Serializable {

    private String author;
    private String name;

    // standard getters and setters
}
Source by www.baeldung.com #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
6+1 =