awips2/tests/resources/unit-test-hibernate.cfg.xml
Dustin Johnson 0d548bd66f Issue #1543 Add testing of current OpenDAP type retrievals.
- Add test for current behavior of SBN-like retrievals.
- Change session management to use a factory implementation.
- Add service locator strategy to find jaxbables.
- Tests cleanup.
- Add mock versions of OpenDAP service classes to test more OpenDAP retrieval functionality.

Amend:
  Peer review comments.
  Change to use Spring transactions.

Change-Id: Ifce73361a5d864c54fdd493240c40d5ae66ef366

Former-commit-id: ef32853dc1 [formerly bb9ab0ceb479a8c6a727b9764433edb70eec31f1]
Former-commit-id: 8307af022c
2013-02-11 14:21:57 -06:00

21 lines
No EOL
1 KiB
XML

<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factory>
<property name="connection.release_mode">
after_transaction
</property>
<property name="hibernate.id.new_generator_mappings">true</property>
<property name="hibernate.show_sql">false</property>
<property name="hibenate.format_sql">false</property>
<property name="hibernate.use_sql_comments">false</property>
<property name="hibernate.generate_statistics">false</property>
<property name="hibernate.cache.use_second_level_cache">false</property>
<property name="hibernate.jdbc.use_streams_for_binary">false</property>
<property name="hibernate.hbm2ddl.auto">create</property>
<property name="cache.use_query_cache">false</property>
</session-factory>
</hibernate-configuration>