Pom:
GeneratorConfig. XML with local DTD file
<? The XML version="1.0" encoding="utf-8"?>
ConnectionURL="${JDBC. ConnectionURL}"
UserId="${JDBC. UserId}"
Password="${JDBC. Password}" & gt;
True, the JDBC DECIMAL and NUMERIC types to Java. Math., BigDecimal
- & gt;
Type="ANNOTATEDMAPPER", generate Java Model and annotation-based Mapper object
Type="MIXEDMAPPER", generated based on the annotation of the Java Model and the corresponding object Mapper
Type="XMLMAPPER", generated SQLMap XML file and independent Mapper interfaces
- & gt;
SelectByExampleQueryId="true" & gt;
EnableDeleteByExample="false" enableSelectByExample="false"
SelectByExampleQueryId="false" & gt;
The generator. The properties
JDBC. DriverLocation=E: \ \ program Files \ \ mysql connector - Java - 5.1.32. Jar
JDBC. DriverClass=com. Mysql. JDBC. Driver
JDBC. ConnectionURL=JDBC: mysql://localhost: 3306/demo? UseUnicode=true& CharacterEncoding=utf-8 & amp; ZeroDateTimeBehavior=convertToNull
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull