I am trying to create the above mapping using spring data jpa but stuck in the part where (cus_id , c_date) is used as a composite key in Table c , which is also a composite key in Table B . cus_id in Table B is a foreign key to tableA.
How to map this using jpa ?