Hi,
I use a JBeanMapper librairy to perform some mapping from persistent object to printable object. This library is based on XML file that describe the mapping and the conversion to perform.
I have the following model:
class A { B b; B getB() {...} }
There will be a solution in hibernate3.1 but we do not recommand it since it requires bytecode enhancement and is less efficient (less lazy) than the proxy solution