
perutils.utils-code.1.5.0.source-code.generator.xml Maven / Gradle / Ivy
The newest version!
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd"> <properties> <comment> 1.会为所有的property生成property_dir属性,如pkg=com.company => pkg_dir=com/company 2.可以引用环境变量: ${env.JAVA_HOME} or System.properties: ${user.home},property之间也可以相互引用 </comment> <entry key="basepackage">com.webapp</entry> <!-- jsp namespace: web/${namespace}/${className}/list.jsp <entry key="namespace">pages</entry> <entry key="outRoot"></entry> --> <!-- 需要移除的表名前缀,使用逗号进行分隔多个前缀,示例值: t_,v_ <entry key="tableRemovePrefixes"></entry>--> <!-- Mysql--> <entry key="jdbc_url">jdbc:mysql://localhost:3306/database?useUnicode=true&characterEncoding=UTF-8</entry> <entry key="jdbc_driver">com.mysql.jdbc.Driver</entry> <entry key="jdbc_username">root</entry> <entry key="jdbc_password">root</entry> <!-- oracle需要指定jdbc.schema,并且可能要大写,其它数据库忽略此项配置 <entry key="jdbc_schema"></entry> <entry key="jdbc_catalog"></entry>--> <!-- 数据库类型至java类型映射 --> <entry key="java_typemapping.java.sql.Timestamp">java.util.Date</entry> <entry key="java_typemapping.java.sql.Date">java.util.Date</entry> <entry key="java_typemapping.java.sql.Time">java.util.Date</entry> <entry key="java_typemapping.java.lang.Byte">Integer</entry> <entry key="java_typemapping.java.lang.Short">Integer</entry> <entry key="java_typemapping.java.math.BigDecimal">Double</entry> <entry key="java_typemapping.java.math.BigInteger">Long</entry> <entry key="java_typemapping.java.sql.Clob">String</entry> </properties>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy