JPA Composit PKs

There are three ways to create composit PK, see section 2.2.6

@Id and @Embeddable
or
@EmbeddedId
or
@IdClass

Comments

Popular posts from this blog

Sites, Newsletters, and Blogs

Oracle JDBC ReadTimeout QueryTimeout