Commit 754385e4 authored by 22管33's avatar 22管33

修改mysql和oracle的GeneratorConfig.xml,增加Generator配置的详细文档说明

parent be5c7c11
This diff is collapsed.
......@@ -47,6 +47,7 @@
<table tableName="%">
<property name="useActualColumnNames"
value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
</table>
</context>
</generatorConfiguration>
......@@ -14,8 +14,8 @@
<jdbcConnection driverClass="oracle.jdbc.driver.OracleDriver"
connectionURL="jdbc:oracle:thin:@haomo-studio.com:21521:xe"
userId="STEAM_MONITOR"
password="STEAM_MONITOR"/>
userId="HM_ORGANIZATION"
password="123456"/>
<!-- 指定生成的类型为java类型,避免数据库中number等类型字段 -->
<javaTypeResolver>
......@@ -45,8 +45,12 @@
value="false"/>
</javaClientGenerator>
<table schema="STEAM_MONITOR" tableName="%">
<table schema="HM_ORGANIZATION" tableName="%">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
</table>
<!--<table tableName="%">-->
<!--<property name="useActualColumnNames" value="false"/>-->
<!--</table>-->
</context>
</generatorConfiguration>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment