I'm using the following xdoclet fragment:
Code:
/**
* @return
* @hibernate.property
* type="com.eyeclick.datastore.mapping.EnumUserType"
* @hibernate.param
* name="enumClassName" value="com.eyeclick.infrastructure.logging.Level "
*/
public Level getLevel() {
return m_level;
}
The mapping file created omits the param tag:
Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" " http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class table="AgentEvent" name="com.events.AgentEventBO">
<id unsaved-value="0" name="id" type="com.mapping.IdHibernateType" column="Id">
<generator class="com.mapping.IdGenerator"/>
</id>
<version unsaved-value="undefined" name="version"/>
<property name="level" type="com.mapping.EnumUserType"/>
<property name="message"/>
<property name="timestamp"/>
<property name="context"/>
</class>
</hibernate-mapping>
Any help?