I'm trying to use Maps that contains <any> types, pleas can anyOne tell me how to use it?.
I have founded that exits type="object" but i don't kown how to use it either.
Code:
<map name="itsParameters"
table="Element_Parameters"
>
<key column="network_parameter_map"/>
<index column="network_parameter_map_key" type="string"/>
<element column="parameterInMap" type="object">
<column name="Map"/>
<column name="Map_Class_id"/>
</element>
</map>
What is wrong here?
and here?
Code:
<map name="itsParameters"
table="Element_Parameters"
>
<key column="network_parameter_map"/>
<index column="network_parameter_map_key" type="string"/>
<element column="parameterInMap" type="object"/>
</map>
It seems work but when i try to hibernate it gives me a: Transaction RolledbackException Array OutOfBound 1
thnx in advance,
JM[/code]