mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 21:27:40 +00:00
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:
@@ -22,7 +22,9 @@
|
|||||||
</javaModelGenerator>
|
</javaModelGenerator>
|
||||||
|
|
||||||
<!-- Set targetProject to the desired location for the generated xml mapping files. -->
|
<!-- 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" />
|
<property name="enableSubPackages" value="true" />
|
||||||
</sqlMapGenerator>
|
</sqlMapGenerator>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user