|
|
@@ -2,90 +2,18 @@
|
|
|
<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN" "http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
|
|
|
<hibernate-configuration>
|
|
|
<session-factory>
|
|
|
- <!--property
|
|
|
- name="dialect">org.hibernate.dialect.DB2Dialect</property>
|
|
|
- <property name="hibernate.connection.datasource">jdbc/db2/mwconfig_mwui_ds</property-->
|
|
|
-
|
|
|
- <!-- udah dikomen -->
|
|
|
- <!--property
|
|
|
- name="hibernate.connection.datasource">jdbc/db2/mwconfig_mwui_ds</property-->
|
|
|
- <!-- <property name="hibernate.connection.datasource">jdbc/db2/mwconfig_mwui_ds</property> -->
|
|
|
-
|
|
|
- <!--property
|
|
|
- name="hibernate.transaction.factory_class">org.hibernate.transaction.CMTTransactionFactory</property>
|
|
|
- <property
|
|
|
- name="hibernate.transaction.manager_lookup_class">org.hibernate.transaction.WebSphereExtendedJTATransactionLookup</property>
|
|
|
-
|
|
|
- <prop key="hibernate.transaction.flush_before_completion">true</prop>
|
|
|
- <prop key="hibernate.transaction.auto_close_session">true</prop>
|
|
|
- <prop key="hibernate.cache.use_query_cache">false</prop>
|
|
|
- <prop key="hibernate.cache.use_second_level_cache">false</prop>
|
|
|
-
|
|
|
- <property name="jta.UserTransaction">java:comp/UserTransaction</property-->
|
|
|
- <!-- <property name="hibernate.connection.driver_class">com.ibm.db2.jcc.DB2Driver</property> -->
|
|
|
- <!--property
|
|
|
- name="hibernate.connection.url">jdbc:db2://172.15.30.28:25010/MWAPP:currentSchema=MWAPP;</property-->
|
|
|
- <property name="hibernate.connection.url">
|
|
|
- jdbc:db2://10.10.10.36:50000/MWAPP:currentSchema=MWAPP;</property>
|
|
|
- <property name="hibernate.connection.username">db2inst1</property>
|
|
|
- <property name="hibernate.connection.password">mdw4dm1n</property>
|
|
|
<property name="hibernate.dialect">org.hibernate.dialect.DB2Dialect</property>
|
|
|
-
|
|
|
+ <property name="hibernate.connection.datasource">jdbc/db2/mwapp_mwapp_ds</property>
|
|
|
|
|
|
<property name="hibernate.show_sql">false</property>
|
|
|
<property name="hibernate.format_sql">true</property>
|
|
|
<property name="hibernate.use_sql_comments">true</property>
|
|
|
<property name="hibernate.use_outer_join">true</property>
|
|
|
|
|
|
- <!-- property name="hibernate.hbm2ddl.auto">create-drop</property -->
|
|
|
- <!-- property name="hibernate.hbm2ddl.auto">validate</property -->
|
|
|
- <!-- property name="hibernate.hbm2ddl.auto">update</property -->
|
|
|
-
|
|
|
-
|
|
|
- <property name="hibernate.show_sql">false</property>
|
|
|
- <property name="hibernate.format_sql">true</property>
|
|
|
- <property name="hibernate.use_sql_comments">true</property>
|
|
|
- <property name="hibernate.use_outer_join">true</property>
|
|
|
-
|
|
|
- <!-- property name="hibernate.hbm2ddl.auto">create-drop</property -->
|
|
|
- <!-- property name="hibernate.hbm2ddl.auto">validate</property -->
|
|
|
- <!-- property name="hibernate.hbm2ddl.auto">update</property -->
|
|
|
-
|
|
|
<mapping resource="hbm/app/Attribute.hbm.xml" />
|
|
|
<mapping resource="hbm/app/EodConfig.hbm.xml" />
|
|
|
<mapping resource="hbm/app/Privilege.hbm.xml" />
|
|
|
<mapping resource="hbm/app/Role.hbm.xml" />
|
|
|
<mapping resource="hbm/app/SysParam.hbm.xml" />
|
|
|
-
|
|
|
- <!--mapping
|
|
|
- resource="hbm/ePayment/AppSetting.hbm.xml" />
|
|
|
- <mapping resource="hbm/ePayment/NhAppUser.hbm.xml" />
|
|
|
- <mapping resource="hbm/ePayment/NhAppUserAccount.hbm.xml" />
|
|
|
- <mapping resource="hbm/ePayment/NhBiller.hbm.xml" />
|
|
|
- <mapping resource="hbm/ePayment/NhBillerCategory.hbm.xml" />
|
|
|
- <mapping resource="hbm/ePayment/NhBillerConfig.hbm.xml" />
|
|
|
- <mapping resource="hbm/ePayment/NhBillerGroup.hbm.xml" />
|
|
|
- <mapping resource="hbm/ePayment/NhFilter.hbm.xml" />
|
|
|
- <mapping resource="hbm/ePayment/NhPrivilege.hbm.xml" />
|
|
|
- <mapping resource="hbm/ePayment/NhReport.hbm.xml" />
|
|
|
- <mapping resource="hbm/ePayment/NhRole.hbm.xml" />
|
|
|
- <mapping resource="hbm/ePayment/NhServerConfig.hbm.xml" />
|
|
|
-
|
|
|
- <mapping resource="hbm/rekon/CalendarDate.hbm.xml" />
|
|
|
- <mapping resource="hbm/rekon/Channel.hbm.xml" />
|
|
|
- <mapping resource="hbm/rekon/DataQuery.hbm.xml" />
|
|
|
- <mapping resource="hbm/rekon/DbConnection.hbm.xml" />
|
|
|
- <mapping resource="hbm/rekon/FileDb.hbm.xml" />
|
|
|
- <mapping resource="hbm/rekon/FormatInfo.hbm.xml" />
|
|
|
- <mapping resource="hbm/rekon/PrintDetail.hbm.xml" />
|
|
|
- <mapping resource="hbm/rekon/PrintText.hbm.xml" />
|
|
|
- <mapping resource="hbm/rekon/ReconAction.hbm.xml" />
|
|
|
- <mapping resource="hbm/rekon/ReconCompare.hbm.xml" />
|
|
|
- <mapping resource="hbm/rekon/ReconFtp.hbm.xml" />
|
|
|
- <mapping resource="hbm/rekon/ReconJoin.hbm.xml" />
|
|
|
- <mapping resource="hbm/rekon/ReconProcess.hbm.xml" />
|
|
|
- <mapping resource="hbm/rekon/ReconSchedule.hbm.xml" />
|
|
|
- <mapping resource="hbm/rekon/TableHeader.hbm.xml" />
|
|
|
- <mapping resource="hbm/rekon/UpdateDb.hbm.xml" /-->
|
|
|
</session-factory>
|
|
|
</hibernate-configuration>
|