I would be inclined to take this as two issues;
1) mapping to domain Sales to db sales. It sure *looks* like you can
make an ICompositeUserType to do so, and should. Map your
Money.CurrencyObj.CurrencyCode to the column for code, MoneyAmount to
the column for amount.
2) keeping the relationship between sales db table and currency info
db table. assuming this is some legacy design you're locked into, how
do you do this now?

HTH,
B

On Feb 4, 5:17 am, Nexus <[email protected]> wrote:
> Hi
>
> To be clear a valueobject can have a persistence identifier, it just
> means that the persistence id has no meaning

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to