Hibernate List<Enum> mapping
- by Ranna
I have a bean property Map<Long,List<TransactionFlowEnum>> accessRights. Please help me out to map it in hbm file. I have tried by following but it is not working out.
<map name="accessRights" cascade="refresh" table="privilege_access_right_map">
<key column="privilege_id"/>
<map-key column="document_type_id" type ="long"/>
<many-to-many class="com.v4common.shared.beans.usermanagement.TransactionFlowEnum" column="access_right_id" />
</map>
Thanks In Advance.