Joined: Tue Mar 01, 2005 6:58 pm Posts: 7
|
How do I do the equivelant of the following Xdoclet using Hibernate annotations?
/**
* ...
* @hibernate.map table="settings" lazy="true"
* @hibernate.collection-key column="id"
* @hibernate.collection-element column="value" type="string"
* @hibernate.collection-index column="setting_key" type="string"
*/
public Map<String, String> getSettings() {...}
I've read through the documentation a number of times and have been playing with this for hours with no success.
|
|