Fading Coder

One Final Commit for the Last Sprint

Integrating MyBatis Generator with a Custom Mapper Plugin

Configuring MBG with Maven An example from the Mybatis-Spring project demonstrates this integration. Using the Maven plugin allows referencing Maven properties in generatorConfig.xml via the ${property} syntax. First, examine the relevant section of the pom.xml configuraton: <properties> <!...

Reverse Engineering Database Tables to Generate Mapper and Entity Classes (Simple Tool)

Reverse Engineering Database Tables to Generate Mapper and Entity Classes (Simple Tool)
Preparation Databsae driver for connetcion Reverse engineering JAR file mybatis-generator-core-1.3.2.jar generatorConfig.xml start.bat 1. generatorConfig.xml Content <?xml version="1.0" encoding="UTF-8"?> <generatorConfiguration> <!-- Database JDBC driver JAR path,...