Hi,
What's the best way to go about mapping multiple primary key columns in hibernate?
I've done some reading about composite id's but can't decide if this is what's required.
For instance, given the database table:
SupplierBankDetails

accountNo, sort, supplierID)
where accountNo and sort are primary keys whilst supplierID is a forign key?
The table could be anything....the point is how would one map two columns (like accountNo and sort) as the id mapping value?
Any advice would be greatly appreciated,
Cheers!