1
0

hibernate-mwapp.cfg.xml 3.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE hibernate-configuration PUBLIC
  3. "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
  4. "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
  5. <hibernate-configuration>
  6. <session-factory>
  7. <!--property name="dialect">org.hibernate.dialect.DB2Dialect</property>
  8. <property name="hibernate.connection.datasource">jdbc/db2/mwconfig_mwui_ds</property-->
  9. <!-- udah dikomen -->
  10. <!--property name="hibernate.connection.datasource">jdbc/db2/mwconfig_mwui_ds</property-->
  11. <!--property name="hibernate.transaction.factory_class">org.hibernate.transaction.CMTTransactionFactory</property>
  12. <property name="hibernate.transaction.manager_lookup_class">org.hibernate.transaction.WebSphereExtendedJTATransactionLookup</property>
  13. <prop key="hibernate.transaction.flush_before_completion">true</prop>
  14. <prop key="hibernate.transaction.auto_close_session">true</prop>
  15. <prop key="hibernate.cache.use_query_cache">false</prop>
  16. <prop key="hibernate.cache.use_second_level_cache">false</prop>
  17. <property name="jta.UserTransaction">java:comp/UserTransaction</property-->
  18. <property name="hibernate.connection.driver_class">com.ibm.db2.jcc.DB2Driver</property>
  19. <!--property name="hibernate.connection.url">jdbc:db2://172.15.30.28:25010/MWAPP:currentSchema=MWBP;</property-->
  20. <property name="hibernate.connection.url">jdbc:db2://10.10.10.36:50000/MWAPP:currentSchema=MWBP;</property>
  21. <property name="hibernate.connection.username">db2inst1</property>
  22. <property name="hibernate.connection.password">mdw4dm1n</property>
  23. <property name="hibernate.dialect">org.hibernate.dialect.DB2Dialect</property>
  24. <property name="hibernate.show_sql">false</property>
  25. <property name="hibernate.format_sql">true</property>
  26. <property name="hibernate.use_sql_comments">true</property>
  27. <property name="hibernate.use_outer_join">true</property>
  28. <!-- property name="hibernate.hbm2ddl.auto">create-drop</property -->
  29. <!-- property name="hibernate.hbm2ddl.auto">validate</property -->
  30. <!-- property name="hibernate.hbm2ddl.auto">update</property -->
  31. <!--mapping resource="hbm/app/Attribute.hbm.xml" />
  32. <mapping resource="hbm/app/EodConfig.hbm.xml" />
  33. <mapping resource="hbm/app/Privilege.hbm.xml" />
  34. <mapping resource="hbm/app/Role.hbm.xml" />
  35. <mapping resource="hbm/app/SysParam.hbm.xml" /-->
  36. <mapping resource="hbm/ePayment/AppSetting.hbm.xml" />
  37. <mapping resource="hbm/ePayment/NhAppUser.hbm.xml" />
  38. <mapping resource="hbm/ePayment/NhAppUserAccount.hbm.xml" />
  39. <mapping resource="hbm/ePayment/NhBiller.hbm.xml" />
  40. <mapping resource="hbm/ePayment/NhBillerCategory.hbm.xml" />
  41. <mapping resource="hbm/ePayment/NhBillerConfig.hbm.xml" />
  42. <mapping resource="hbm/ePayment/NhBillerGroup.hbm.xml" />
  43. <mapping resource="hbm/ePayment/NhFilter.hbm.xml" />
  44. <mapping resource="hbm/ePayment/NhPrivilege.hbm.xml" />
  45. <mapping resource="hbm/ePayment/NhReport.hbm.xml" />
  46. <mapping resource="hbm/ePayment/NhRole.hbm.xml" />
  47. <mapping resource="hbm/ePayment/NhServerConfig.hbm.xml" />
  48. <!--mapping resource="hbm/rekon/CalendarDate.hbm.xml" />
  49. <mapping resource="hbm/rekon/Channel.hbm.xml" />
  50. <mapping resource="hbm/rekon/DataQuery.hbm.xml" />
  51. <mapping resource="hbm/rekon/DbConnection.hbm.xml" />
  52. <mapping resource="hbm/rekon/FileDb.hbm.xml" />
  53. <mapping resource="hbm/rekon/FormatInfo.hbm.xml" />
  54. <mapping resource="hbm/rekon/PrintDetail.hbm.xml" />
  55. <mapping resource="hbm/rekon/PrintText.hbm.xml" />
  56. <mapping resource="hbm/rekon/ReconAction.hbm.xml" />
  57. <mapping resource="hbm/rekon/ReconCompare.hbm.xml" />
  58. <mapping resource="hbm/rekon/ReconFtp.hbm.xml" />
  59. <mapping resource="hbm/rekon/ReconJoin.hbm.xml" />
  60. <mapping resource="hbm/rekon/ReconProcess.hbm.xml" />
  61. <mapping resource="hbm/rekon/ReconSchedule.hbm.xml" />
  62. <mapping resource="hbm/rekon/TableHeader.hbm.xml" />
  63. <mapping resource="hbm/rekon/UpdateDb.hbm.xml" /-->
  64. </session-factory>
  65. </hibernate-configuration>