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

Java InetAddress isReachable ICMP (Ping)

Oracle JDBC ReadTimeout QueryTimeout

ActiveMQ https