Hello all, I've been struggling for a while now with how to setup a relationship. I have two objects, one being a Listing object, the other a Tax object. The relationship is a one-to-one (not constrained). The primary keys for each are as follows:
Code:
Listing = mlsID (String) + associationID (long)
Taxes = associationID (long) + taxID (string)
I have the
Code:
taxID
also in the Listing object. I've looked through all the documentation for Hibernate 1.2 and can't seem to find anyway to let hibernate handle the relationship of these two objects for me. Mostly I am interested in cascade deletes. Anyone have any thoughts as to how I should approach this? If I can't find a way then I will have to handle the relationship manually but would really like to avoid that.
Much much thanks in advance,
-Jay