Hi,
I would like to know how to do the mapping for NavigableMap<K,V>?
I have done the mapping for SortedMap<K, V>. But don't know how to do it for NavigableMap<K,V>.
Any help will be appreciated? When i tried to replace SortedMap<K,V> with NavigableMap<K,V> , i am getting the following error.
ERROR BasicPropertyAccessor:98 - expected type: java.util.NavigableMap, actual value: org.hibernate.collection.PersistentSortedMap
There seems i need to use something different for mapping a NavigableMap, like i used the sort attribute and order-by attribute of the Map tag to convert it from Map<K,V> to SortedMap<K,V>.
Similarly what should i do to map a NavigableMap<K,V>? Please explain.
Thanks,
Amjath Sharief
|