Hi,
I'd like to know if there is a way to have hbm2java and hbm2dao output files with different package names?
Currently i have them configured in my pom.xml as...
Code:
<component>
<name>hbm2java</name>
<implementation>configuration</implementation>
<outputDirectory>/src/main/java/</outputDirectory>
/component>
<component>
<name>hbm2dao</name>
<implementation>configuration</implementation>
<outputDirectory>/src/main/java/</outputDirectory>
</component>
<componentProperties>
<propertyfile>/src/main/resources/database.properties</propertyfile>
<packagename>com.myapp.data.models</packagename>
</componentProperties>
The above obviously causes the DAO generated classes to be placed in my models package when i would ideally like to have them in a DAO package.
Any solution to this problem would be appreciated