December 22, 2024

Tag: sql

more

How to Set Unique Column As forgeinKey In Jpa Mapping

Hi when I try to save customer details with email as foreign key the email column remains null in the address table. I have tried moving joinColum to customer class as well but then it stores Integer Id as the foregin key @Entity @Getter @Setter @NoArgsConstructor public class Customer implements Serializable { @Id @GeneratedValue private […]

Read More