Advertisement
Guest User

Untitled

a guest
Jan 17th, 2017
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.03 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE generatorConfiguration
  3.  PUBLIC "-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN"
  4.  "http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd">
  5.  
  6. <generatorConfiguration>
  7.     <classPathEntry location="C:/Users/ibaad_000/.m2/repository/org/postgresql/postgresql/9.4.1212/9.4.1212.jar"/>
  8.     <!--<classPathEntry location="/Users/fahri/.m2/repository/com/oracle/oracle/11.2.0.4/oracle-11.2.0.4.jar"/>-->
  9.     <!--<classPathEntry location="C:///Users/Ruliantyo/.m2/repository/com/oracle/oracle/11.2.0.4/oracle-11.2.0.4.jar"/>-->
  10.  
  11.     <context id="TheContext" targetRuntime="MyBatis3">
  12.         <plugin type="org.mybatis.generator.plugins.CaseInsensitiveLikePlugin"></plugin>
  13.         <plugin type="org.mybatis.generator.plugins.EqualsHashCodePlugin"></plugin>
  14.         <plugin type="org.mybatis.generator.plugins.SerializablePlugin"></plugin>
  15. <!--        <plugin type="org.mybatis.generator.plugins.RenameExampleClassPlugin">
  16.            <property name="searchString" value="Example$"></property>
  17.            <property name="replaceString" value="Query"></property>
  18.        </plugin>-->
  19.  
  20.         <commentGenerator>
  21.             <property name="suppressDate" value="true" />
  22.         </commentGenerator>
  23.  
  24.         <jdbcConnection driverClass="org.postgresql.Driver"
  25.                        connectionURL="jdbc:postgresql://localhost:5432/euisdb"
  26.                        userId="postgres"
  27.                        password="root">
  28.         </jdbcConnection><!-- ubah userId dan password sesuai dengan synonym-->
  29.  
  30.         <!--<jdbcConnection driverClass="oracle.jdbc.driver.OracleDriver"-->
  31.         <!--connectionURL="jdbc:oracle:thin:@//127.0.0.1:1521/xe"-->
  32.         <!--userId="artajasa_corporate_payment"-->
  33.         <!--password="artajasa123">-->
  34.         <!--</jdbcConnection>&lt;!&ndash; ubah userId dan password sesuai dengan synonym&ndash;&gt;-->
  35.  
  36.         <javaModelGenerator targetPackage="com.pusilkom.euis.model" targetProject="src/main/java">
  37.         </javaModelGenerator>
  38.  
  39.         <sqlMapGenerator targetPackage="com.pusilkom.euis.model.mapper"  targetProject="src/main/resources">
  40.         </sqlMapGenerator>
  41.  
  42.         <!--<javaClientGenerator type="XMLMAPPER" targetPackage="com.pusilkom.artajasa.corporatepayment.model.mapper" targetProject="src/main/java">-->
  43.         <!--</javaClientGenerator>-->
  44.  
  45.         <!-- ubah schema dan tableName sesuai dengan synonym-->
  46.         <table schema="public" tableName="tref_event_akademik">
  47.             <!--<table schema="artajasa_corporate_payment"-->
  48.             <!--tableName="invoice"> &lt;!&ndash; tableName="%" utk generate semua table&ndash;&gt;-->
  49.             <property name="ignoreQualifiersAtRuntime" value="true" />
  50.             <!--uncomment below line to activate synonym-->
  51.             <!--<property name="runtimeTableName" value="syn_sia_barang_transaksi" />-->
  52.         </table>
  53.  
  54.  
  55.         <!--Running Command-->
  56.         <!--mvn -Dmybatis.generator.overwrite=true mybatis-generator:generate-->
  57.    
  58.     </context>
  59. </generatorConfiguration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement