hibernate-mwconfig.cfg.xml 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN" "http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
  3. <hibernate-configuration>
  4. <session-factory>
  5. <!--property
  6. name="dialect">org.hibernate.dialect.DB2Dialect</property>
  7. <property name="hibernate.connection.datasource">jdbc/db2/mwconfig_mwui_ds</property-->
  8. <!-- udah dikomen -->
  9. <!-- <property
  10. name="hibernate.connection.datasource">jdbc/db2/mwconfig_mwui_ds</property> -->
  11. <!--property
  12. name="hibernate.transaction.factory_class">org.hibernate.transaction.CMTTransactionFactory</property>
  13. <property
  14. name="hibernate.transaction.manager_lookup_class">org.hibernate.transaction.WebSphereExtendedJTATransactionLookup</property>
  15. <prop key="hibernate.transaction.flush_before_completion">true</prop>
  16. <prop key="hibernate.transaction.auto_close_session">true</prop>
  17. <prop key="hibernate.cache.use_query_cache">false</prop>
  18. <prop key="hibernate.cache.use_second_level_cache">false</prop>
  19. <property name="jta.UserTransaction">java:comp/UserTransaction</property-->
  20. <!-- <property name="hibernate.connection.driver_class">com.ibm.db2.jcc.DB2Driver</property> -->
  21. <!--property
  22. name="hibernate.connection.url">jdbc:db2://172.15.30.28:25010/MWCONFIG:currentSchema=MWCONFIG;</property-->
  23. <property
  24. name="hibernate.connection.url">
  25. jdbc:db2://10.10.10.36:50000/MWCONFIG:currentSchema=MWCONFIG;</property>
  26. <property name="hibernate.connection.username">db2inst1</property>
  27. <property name="hibernate.connection.password">mdw4dm1n</property>
  28. <property name="hibernate.dialect">org.hibernate.dialect.DB2Dialect</property>
  29. <property name="hibernate.show_sql">false</property>
  30. <property name="hibernate.format_sql">true</property>
  31. <property name="hibernate.use_sql_comments">true</property>
  32. <property name="hibernate.use_outer_join">true</property>
  33. <!-- property name="hibernate.hbm2ddl.auto">create-drop</property -->
  34. <!-- property name="hibernate.hbm2ddl.auto">validate</property -->
  35. <!-- property name="hibernate.hbm2ddl.auto">update</property -->
  36. <mapping resource="hbm/config/Adaptor.hbm.xml" />
  37. <mapping resource="hbm/config/AdaptorCodex.hbm.xml" />
  38. <mapping resource="hbm/config/AdaptorParam.hbm.xml" />
  39. <mapping resource="hbm/config/Charges.hbm.xml" />
  40. <mapping resource="hbm/config/Client.hbm.xml" />
  41. <mapping resource="hbm/config/ClientTarget.hbm.xml" />
  42. <mapping resource="hbm/config/Codex.hbm.xml" />
  43. <mapping resource="hbm/config/Dbconn.hbm.xml" />
  44. <mapping resource="hbm/config/DbQuery.hbm.xml" />
  45. <mapping resource="hbm/config/DevTellerMap.hbm.xml" />
  46. <mapping resource="hbm/config/ErrorMap.hbm.xml" />
  47. <mapping resource="hbm/config/Host.hbm.xml" />
  48. <mapping resource="hbm/config/Log.hbm.xml" />
  49. <mapping resource="hbm/config/Mapping.hbm.xml" />
  50. <mapping resource="hbm/config/MappingGroup.hbm.xml" />
  51. <mapping resource="hbm/config/MappingGroupLine.hbm.xml" />
  52. <mapping resource="hbm/config/Parser.hbm.xml" />
  53. <mapping resource="hbm/config/ParserCodex.hbm.xml" />
  54. <mapping resource="hbm/config/RoutingTable.hbm.xml" />
  55. <mapping resource="hbm/config/RpgCall.hbm.xml" />
  56. <mapping resource="hbm/config/RpgCallArg.hbm.xml" />
  57. <mapping resource="hbm/config/ServerPort.hbm.xml" />
  58. <mapping resource="hbm/config/ParamMap.hbm.xml" />
  59. <mapping resource="hbm/config/FileParam.hbm.xml" />
  60. </session-factory>
  61. </hibernate-configuration>