Regular |
|
Joined: Sat Nov 05, 2005 5:33 am Posts: 70 Location: Linz, Austria
|
Hibernate version: 3.2.2
Name and version of the database you are using: Oracle 9.0g
I'm looking for a way to solve the following problem:
We're working against a legacy database which is not completely consistent. Therefore it is possible that parent entries do not exist (eg the currency for an order).
Nevertheless, I want to map the currency as many-to-one, but a missing currency entry must neither cause an exception nor be set to null.
Is there any standard way to achieve this?
Otherwise, I'm going to prepare a patch and post it to JIRA.
Regards,
Heinz
|
|