Collegues;
I have two objects, call them A and B. Object B has a 4 property composite key
whose
individual members are also contained in Object A. Object A however, has a
different primary
key definition than Object B. Since the primay key fields in Object B are
contained in Object
A, I would like to include Object B as an property of Object A but cannot find
a clear way to
do this.
The Hibernate Literature:
http://www.hibernate.org/hib_docs/reference/en/html/components.html#components-dependentobjects
discusses dependent objects but states that the parent table would contain the
properties of
both the Object A and its property Object B. The properties of each of these
Objects are in
separate tables of a legacy system.
I also sifted through the HQL examples in the literature and did not find any
thing relevent.
Any suggestions on a solution to achieve my objective of including Object B as
a property of
Object A would be greatly appreciated.
Thank You;
John Olmstead
=====
John Olmstead
jolmstead2k@xxxxxxxxx
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com
|