Anyone have any ideas about getting many-to-one mappings with a formula to work out the foreign key working.  I tried to do this by having a @hibernate.many-to-one and underneath an @hibernate.column tag with a formula attribute but xdoclet seems to just ignore the formula attribute.  I then decided to put this relation in using a merge file.  Unfortunately this isn’t an option as the relation I am dealing with is in a joined subclass so doesn’t have its own hibernate descriptor file to merge into.

 

Thanks in advance…

 

Neil Mendoza

Prytania Services LLP

105 Ladbroke Grove, London, W11 1PG

Tel: +44 20 7616 8475   Fax: +44 20 7616 8472

 

 
 ---
This e-mail may contain confidential and/or privileged information. If you are not the
intended recipient (or have received this e-mail in error) please notify the sender
immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution
of the material in this e-mail is strictly forbidden. The Prytania Group has taken every
reasonable precaution to ensure that any attachment to this e-mail has been swept for
viruses. However, we cannot accept liability for any damage sustained as a result of
software viruses and would advise that you carry out your own virus checks before
opening any attachment.

Reply via email to