Former-commit-id:580e2938d7
[formerly66be3bec40
] [formerlyc83e5ff474
[formerly 2a9569942c48542cf708b6c0b9189146fd954c11]] Former-commit-id:c83e5ff474
Former-commit-id:1faae42484
75 lines
No EOL
2.8 KiB
XML
75 lines
No EOL
2.8 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">
|
|
<!--
|
|
This_software_was_developed_and_/_or_modified_by_Raytheon_Company,
|
|
pursuant_to_Contract_DG133W-05-CQ-1067_with_the_US_Government.
|
|
|
|
U.S._EXPORT_CONTROLLED_TECHNICAL_DATA
|
|
This_software_product_contains_export-restricted_data_whose
|
|
export/transfer/disclosure_is_restricted_by_U.S._law._Dissemination
|
|
to_non-U.S._persons_whether_in_the_United_States_or_abroad_requires
|
|
an_export_license_or_other_authorization.
|
|
|
|
Contractor_Name:________Raytheon_Company
|
|
Contractor_Address:_____6825_Pine_Street,_Suite_340
|
|
________________________Mail_Stop_B8
|
|
________________________Omaha,_NE_68106
|
|
________________________402.291.0100
|
|
|
|
See_the_AWIPS_II_Master_Rights_File_("Master_Rights_File.pdf")_for
|
|
further_licensing_information.
|
|
-->
|
|
|
|
<hibernate-configuration>
|
|
<session-factory>
|
|
|
|
<!-- JDBC Properties -->
|
|
|
|
<property name="connection.driver_class">
|
|
org.postgresql.Driver
|
|
</property>
|
|
<property name="dialect">
|
|
org.hibernate.dialect.PostgreSQLDialect
|
|
</property>
|
|
<property name="connection.url">
|
|
jdbc:postgresql://${db.addr}:${db.port}/${fxa.db.name}
|
|
</property>
|
|
<property name="connection.username">awips</property>
|
|
<property name="connection.password">awips</property>
|
|
<property name="connection.release_mode">
|
|
after_transaction
|
|
</property>
|
|
<property name="jdbc.batch_size">20</property>
|
|
|
|
|
|
<!-- Optional Hibernate Configuration Properties -->
|
|
<!-- Write all SQL statements to console -->
|
|
<property name="hibernate.show_sql">false</property>
|
|
|
|
<!-- Pretty print the SQL in the log and console -->
|
|
<property name="hibenate.format_sql">false</property>
|
|
|
|
<!-- If turned on, Hibernate will generate comments inside the SQL, for easier debugging, defaults to false -->
|
|
<property name="hibernate.use_sql_comments">false</property>
|
|
|
|
<!-- Use c3p0 connection pooling -->
|
|
<property name="hibernate.connection.provider_class">org.hibernate.connection.C3P0ConnectionProvider</property>
|
|
|
|
<!-- c3p0 Connection Pool Properties -->
|
|
<!-- Additional properties may be added to c3p0.properties -->
|
|
<property name="c3p0.acquire_increment">1</property>
|
|
<property name="c3p0.idle_test_period">60</property>
|
|
<property name="c3p0.timeout">300</property>
|
|
<property name="c3p0.max_size">25</property>
|
|
<property name="c3p0.max_statements">10</property>
|
|
<property name="c3p0.min_size">1</property>
|
|
|
|
|
|
<!-- Cache Properties -->
|
|
<property name="hibernate.cache.use_second_level_cache">false</property>
|
|
<property name="cache.use_query_cache">false</property>
|
|
|
|
</session-factory>
|
|
</hibernate-configuration> |