/**
* Id number from "contacts" table
*/
- @JoinColumn (table = "contacts", unique = true)
+ @JoinColumn (table = "contacts", referencedColumnName = "customer_contact_id", name = "id", nullable = false, updatable = false, unique = true)
@OneToOne (optional = false, targetEntity = BaseContact.class, orphanRemoval = true)
- @Column (name = "customer_contact_id", nullable = false, length = 20)
private Contact contact;
/**