mybatis-generator 配置xml
<?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>
<context id="context1" targetRuntime="MyBatis3">
<jdbcConnection connectionURL="jdbc:postgresql://localhost:5432/iap_db" driverClass="org.postgresql.Driver" password="imart" userId="imart" />
<javaModelGenerator targetPackage="jp.go.knja.mybatis.online.entity" targetProject="web/src/main/java" />
<sqlMapGenerator targetPackage="jp.go.knja.mybatis.online.dao"
targetProject="web/src/main/resources">
</sqlMapGenerator>
<javaClientGenerator targetPackage="jp.go.knja.mybatis.online.dao" targetProject="web/src/main/java" type="XMLMAPPER" />
<table schema="public" tableName="RYS_JOHO_RCD"></table>
<!-- <columnOverride column="???" property="???" /> -->
</context>
</generatorConfiguration>
posted on 2025-09-17 09:37 renshaoping 阅读(2) 评论(0) 收藏 举报
浙公网安备 33010602011771号