Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?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="C:/Users/ibaad_000/.m2/repository/org/postgresql/postgresql/9.4.1212/9.4.1212.jar"/>
- <!--<classPathEntry location="/Users/fahri/.m2/repository/com/oracle/oracle/11.2.0.4/oracle-11.2.0.4.jar"/>-->
- <!--<classPathEntry location="C:///Users/Ruliantyo/.m2/repository/com/oracle/oracle/11.2.0.4/oracle-11.2.0.4.jar"/>-->
- <context id="TheContext" targetRuntime="MyBatis3">
- <plugin type="org.mybatis.generator.plugins.CaseInsensitiveLikePlugin"></plugin>
- <plugin type="org.mybatis.generator.plugins.EqualsHashCodePlugin"></plugin>
- <plugin type="org.mybatis.generator.plugins.SerializablePlugin"></plugin>
- <!-- <plugin type="org.mybatis.generator.plugins.RenameExampleClassPlugin">
- <property name="searchString" value="Example$"></property>
- <property name="replaceString" value="Query"></property>
- </plugin>-->
- <commentGenerator>
- <property name="suppressDate" value="true" />
- </commentGenerator>
- <jdbcConnection driverClass="org.postgresql.Driver"
- connectionURL="jdbc:postgresql://localhost:5432/euisdb"
- userId="postgres"
- password="root">
- </jdbcConnection><!-- ubah userId dan password sesuai dengan synonym-->
- <!--<jdbcConnection driverClass="oracle.jdbc.driver.OracleDriver"-->
- <!--connectionURL="jdbc:oracle:thin:@//127.0.0.1:1521/xe"-->
- <!--userId="artajasa_corporate_payment"-->
- <!--password="artajasa123">-->
- <!--</jdbcConnection><!– ubah userId dan password sesuai dengan synonym–>-->
- <javaModelGenerator targetPackage="com.pusilkom.euis.model" targetProject="src/main/java">
- </javaModelGenerator>
- <sqlMapGenerator targetPackage="com.pusilkom.euis.model.mapper" targetProject="src/main/resources">
- </sqlMapGenerator>
- <!--<javaClientGenerator type="XMLMAPPER" targetPackage="com.pusilkom.artajasa.corporatepayment.model.mapper" targetProject="src/main/java">-->
- <!--</javaClientGenerator>-->
- <!-- ubah schema dan tableName sesuai dengan synonym-->
- <table schema="public" tableName="tref_event_akademik">
- <!--<table schema="artajasa_corporate_payment"-->
- <!--tableName="invoice"> <!– tableName="%" utk generate semua table–>-->
- <property name="ignoreQualifiersAtRuntime" value="true" />
- <!--uncomment below line to activate synonym-->
- <!--<property name="runtimeTableName" value="syn_sia_barang_transaksi" />-->
- </table>
- <!--Running Command-->
- <!--mvn -Dmybatis.generator.overwrite=true mybatis-generator:generate-->
- </context>
- </generatorConfiguration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement