I have been using XDoclet successfully for quite some time to generate hibernate mapping files.
My current problem is that I am attempting to merge a single entity containing additional property mappings for a single class, however, it is not performing the merge.
In my project.properties in addition to the usual suspects I have the following:
…
maven.xdoclet.hibernatedoclet.mergeDir=${basedir}/src/conf/merge
...
I have a class Problem and a corresponding hibernate-properties-Problem.xml file in the above merge directory. When I change the name of the file to be merged to hibernate-properties.xml it works, however, appends the contents to all my .hbm.xml files. Of course, I only need this additional property in the Problem.hbm.xml.
The contents of the merge file is:
<property name="hibernate.cache.provider_class">net.sf.ehcache.hibernate.Provider</property>
BTW, does anyone know the status of the ehcache subtask?
Senior Software Developer
CaseBank Technologies, Inc.
