Hello,
I'm trying to map a class (call it 'ItemsMap') which has a java.util.Map attribute (call it 'items'). My problem is that the element type I'm trying to use is another class (call it 'Item') which I have mapped in a separate hbm.xml file. I have tried using the 'class' attribute of <element> but the SchemaGenerator seems to ignore it and create an association table with a column called 'item' with varchar(255) (on MySql 4). Could you give me a simple example form mapping this king of association??
Thanks a lot, and let me tell you Hibernate is a really great tool!!!!
Andr
|