Re: [Hibernate] dependent object with map

2003-01-29 Thread Viktor Szathmary
hi, On Wed, 29 Jan 2003 15:30:40 +1100, [EMAIL PROTECTED] said: > > Use a mapping. (or a custom type) > duh.. for some reason i thought i remembered reading in the docs, that hibernate doesn't support collections inside components... i'm getting senile i guess. thx, viktor -- http://fastma

Re: [Hibernate] dependent object with map

2003-01-29 Thread Gavin . King
[EMAIL PROTECTED] Subject: [Hibernate] dependent object with map

[Hibernate] dependent object with map

2003-01-29 Thread Viktor Szathmary
hi, suppose i have a class Foo, that has a single Bar property. Bar is just a convenience wrapper around a Map (doesn't implement Map). How can one map this sort of relationship, without making Bar a first class object with it's own identity (and therefore 3 tables instead of the two it really nee