Issue #2144 Switched hibernate to Post GIS config

Change-Id: I9393b60fbc2a8880c588f707758a84cebf909725

Former-commit-id: fe5cde7afd [formerly 5aee30a473 [formerly 8452dcd917810d1c6f582b75e4ddceaba7229043]]
Former-commit-id: 5aee30a473
Former-commit-id: b4e41b137d
This commit is contained in:
Dave Hladky 2013-06-25 13:28:52 -05:00
parent cf29af8d65
commit 22c8646d12
2 changed files with 6 additions and 5 deletions

View file

@ -31,7 +31,7 @@
org.postgresql.Driver
</property>
<property name="dialect">
org.hibernate.dialect.PostgreSQLDialect
org.hibernatespatial.postgis.PostgisDialect
</property>
<property name="connection.url">
jdbc:postgresql://${db.addr}:${db.port}/maps

View file

@ -31,7 +31,7 @@
org.postgresql.Driver
</property>
<property name="dialect">
org.hibernate.dialect.PostgreSQLDialect
org.hibernatespatial.postgis.PostgisDialect
</property>
<property name="connection.url">
jdbc:postgresql://${db.addr}:${db.port}/metadata
@ -51,11 +51,12 @@
<!-- 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 -->
<!-- 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>
<!-- 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 -->