Комментарии:
very confusing , this is not one to many
Ответитьvery bad teching
ОтветитьAmazing ❤ Thank you!
ОтветитьHow can a department be one to many for employees. Totally confusing. You are doing something else and saying something else brother.
ОтветитьThis isn't one to many this is many to one, as you used a many to one annotation not a one to many annotation.
Ответитьconfusing and not fully explaining
Ответитьits not worthy you get a object from employee using foreach
and save. its not good practice
The over all objective is to create customer along with Address, KYC, Accounts, Loans
The database entries should go in to respective table while creating the customer object
and if the customer object is deleted then the database entries should get deleted from the each respective database table thank you!!