1.

Which element of hbm.xml is used to map a java.util.SortedMap property in hibernate?

Answer»

This is mapped with a <map> element and initialized with java.util.TreeMap. The sort attribute can be set to either a comparator or natural ordering.



Discussion

No Comment Found