hibernate-mwconfig.cfg.xml 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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. <!--property name="hibernate.transaction.factory_class">org.hibernate.transaction.CMTTransactionFactory</property-->
  10. <property name="hibernate.transaction.factory_class">org.hibernate.transaction.JDBCTransactionFactory</property>
  11. <property name="hibernate.transaction.manager_lookup_class">org.hibernate.transaction.WebSphereExtendedJTATransactionLookup</property>
  12. <!--prop key="hibernate.transaction.flush_before_completion">true</prop>
  13. <prop key="hibernate.transaction.auto_close_session">true</prop>
  14. <prop key="hibernate.cache.use_query_cache">false</prop>
  15. <prop key="hibernate.cache.use_second_level_cache">false</prop>
  16. <property name="jta.UserTransaction">java:comp/UserTransaction</property-->
  17. <property name="hibernate.show_sql">false</property>
  18. <property name="hibernate.format_sql">true</property>
  19. <property name="hibernate.use_sql_comments">true</property>
  20. <property name="hibernate.use_outer_join">true</property>
  21. <!-- property name="hibernate.hbm2ddl.auto">create-drop</property -->
  22. <!-- property name="hibernate.hbm2ddl.auto">validate</property -->
  23. <!-- property name="hibernate.hbm2ddl.auto">update</property -->
  24. <mapping resource="hbm/config/Adaptor.hbm.xml" />
  25. <mapping resource="hbm/config/AdaptorCodex.hbm.xml" />
  26. <mapping resource="hbm/config/AdaptorParam.hbm.xml" />
  27. <mapping resource="hbm/config/Charges.hbm.xml" />
  28. <mapping resource="hbm/config/Client.hbm.xml" />
  29. <mapping resource="hbm/config/ClientTarget.hbm.xml" />
  30. <mapping resource="hbm/config/Codex.hbm.xml" />
  31. <mapping resource="hbm/config/Dbconn.hbm.xml" />
  32. <mapping resource="hbm/config/DbQuery.hbm.xml" />
  33. <mapping resource="hbm/config/DevTellerMap.hbm.xml" />
  34. <mapping resource="hbm/config/ErrorMap.hbm.xml" />
  35. <mapping resource="hbm/config/Host.hbm.xml" />
  36. <mapping resource="hbm/config/Log.hbm.xml" />
  37. <mapping resource="hbm/config/Mapping.hbm.xml" />
  38. <mapping resource="hbm/config/MappingGroup.hbm.xml" />
  39. <mapping resource="hbm/config/MappingGroupLine.hbm.xml" />
  40. <mapping resource="hbm/config/Parser.hbm.xml" />
  41. <mapping resource="hbm/config/ParserCodex.hbm.xml" />
  42. <mapping resource="hbm/config/RoutingTable.hbm.xml" />
  43. <mapping resource="hbm/config/RpgCall.hbm.xml" />
  44. <mapping resource="hbm/config/RpgCallArg.hbm.xml" />
  45. <mapping resource="hbm/config/ServerPort.hbm.xml" />
  46. <mapping resource="hbm/config/ParamMap.hbm.xml" />
  47. <mapping resource="hbm/config/FileParam.hbm.xml" />
  48. </session-factory>
  49. </hibernate-configuration>