posted 8 years ago
Well no, I don't think so. Not in this case. What I'm talking about is creating a relationship with another bean/table. A simple example is something like a Person object which contains a Telephone object. Suppose the database design of the telephone data contains many rows for a person but only one which is active='Y'. I need to somehow setup the 1-1 relationship between the two beans with this extra active='Y'. I guess I can do it in a query but I'd rather avoid that if possible.