Mybatis代码自动生成配置文件
来源:互联网 发布:大学生常用电脑软件 编辑:程序博客网 时间:2024/06/12 00:13
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE generatorConfiguration PUBLIC "-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN" "http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd"> <generatorConfiguration> <classPathEntry location="D:/maven1/com/oracle/ojdbc14/10.2.0.4.0/ojdbc14-10.2.0.4.0.jar"/> <context id="DB2Tables" targetRuntime="MyBatis3"> <commentGenerator> <property name="suppressDate" value="true"/> <property name="suppressAllComments" value="true"/> </commentGenerator> <jdbcConnection driverClass="oracle.jdbc.driver.OracleDriver" connectionURL="jdbc:oracle:thin:@192.168.1.xxx:1521:orcl" userId="root" password="root"> </jdbcConnection> <javaTypeResolver> <property name="forceBigDecimals" value="false"/> </javaTypeResolver> <javaModelGenerator targetPackage="com.kilomob.powernetwork.chinaunicom.model" targetProject="power-network-chinaunicom"> <property name="enableSubPackages" value="true"/> <property name="trimStrings" value="true"/> </javaModelGenerator> <sqlMapGenerator targetPackage="com.kilomob.powernetwork.chinaunicom.mapper.card" targetProject="power-network-chinaunicom"> <property name="enableSubPackages" value="true"/> </sqlMapGenerator> <javaClientGenerator type="XMLMAPPER" targetPackage="com.kilomob.powernetwork.chinaunicom.mapper.card" targetProject="power-network-chinaunicom"> <property name="enableSubPackages" value="true"/> </javaClientGenerator> <!-- 数据库表名 --> <table tableName="unicom_card" domainObjectName="CardSIM" enableCountByExample="false" enableUpdateByExample="false" enableDeleteByExample="false" enableSelectByExample="false" selectByExampleQueryId="false"></table> </context> </generatorConfiguration>
阅读全文
0 0
- Mybatis代码自动生成配置文件
- mybatis自动生成代码xml配置文件
- mybatis 自动生成配置文件
- mybatis-generator自动生成java代码和配置文件的注意事项
- Mybatis generator 自动生成配置文件
- MyBatis代码自动生成
- mybatis 自动生成代码
- Mybatis自动生成代码
- Mybatis自动生成代码
- MyBatis代码自动生成
- Mybatis 代码自动生成
- MyBatis代码自动生成
- mybatis代码自动生成
- Mybatis代码自动生成
- MyBatis自动生成代码
- Mybatis自动生成代码
- mybatis 自动生成代码
- mybatis自动生成代码
- iOS- 详解文本属性Attributes(文本的样式设置/阴影/下划线/颜色)
- php 在本地解压 反压缩 zip rar
- Python练习7-统计日记中最重要的词
- 设计模式之饿汉单例
- C++内存越界(转)
- Mybatis代码自动生成配置文件
- 10 orangepi裸板控制IO
- 重启计算机后 iis MYsql重启出现1069错误 数据库无法启动怎么办?
- 宽带相关问题
- 【html】网页常用分享代码大全(前端必备)
- Python 静态方法和类方法
- Socket的错误码和描述(中英文翻译)
- 2D制图实战之绘制星球
- SPP-Net中的特征映射关系