Ticket #269: Updated myBatis example config file to reflect understanding that the mapping files have to be in the same

packge, in /resources folder.
This commit is contained in:
James Muehlner
2013-02-25 10:58:43 -08:00
parent 73641925fc
commit decf247815

View File

@@ -22,7 +22,9 @@
</javaModelGenerator>
<!-- Set targetProject to the desired location for the generated xml mapping files. -->
<sqlMapGenerator targetPackage="net.sourceforge.guacamole.net.auth.mysql.xml" targetProject="/path/to/target/folder">
<!-- NOTE: These XML mapping files will need to be in the same package as the generated DAO -->
<!-- java source files, but in the /resources folder, not the /src folder. -->
<sqlMapGenerator targetPackage="net.sourceforge.guacamole.net.auth.mysql.dao" targetProject="/path/to/target/folder">
<property name="enableSubPackages" value="true" />
</sqlMapGenerator>