java - How to delete-Cascade tables using Hibernate for multiple keys -
i have table static structure given. label can either account or subaccount:
i want create 1 many mapping between account , subaccount , store mapping second table 2 columns called mappings
without refactoring first table how establish relation between table1 , table 2 that: column 1 of table 1 gets cascaded col 1 of table 2 label = account , cascaded col2 of table 2 label = subaccount....? in hibernate so?
Comments
Post a Comment