ss
 
<div class="snippet-container"><button class="copy snippet-copy" aria-label="Copy snippet" onclick="copySnippet(this)"><span data-copied="Copied!">Copy</span><img src="../../../copy.svg" alt="Copy snippet"></button>
<pre class="snippet"><code>@Entity
@Table(name = "CUST")
@Inheritance(strategy = JOINED)
@DiscriminatorValue("CUST")
public class Customer { ... }

@Entity
@Table(name = "VCUST")
@DiscriminatorValue("VCUST")
@PrimaryKeyJoinColumn(name = "CUST_ID")
public class ValuedCustomer extends Custome