Skip to content

Commit f68d08a

Browse files
committed
HHH-10148 - SpatialDialect for SqlServer2012
1 parent 5974998 commit f68d08a

File tree

22 files changed

+446
-118
lines changed

22 files changed

+446
-118
lines changed

hibernate-spatial/databases/db2/resources/hibernate.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ hibernate.dialect org.hibernate.spatial.dialect.db2.DB2SpatialDialect
1010
hibernate.connection.driver_class com.ibm.db2.jcc.DB2Driver
1111
hibernate.connection.url jdbc:db2://localhost:50000/hibern8
1212
hibernate.connection.username db2inst1
13-
hibernate.connection.password dbinst1-pwd
13+
hibernate.connection.password password
1414

1515

1616
hibernate.connection.pool_size 5

hibernate-spatial/databases/mysql56/resources/hibernate.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
hibernate.dialect org.hibernate.spatial.dialect.mysql.MySQL56SpatialDialect
99
hibernate.connection.driver_class com.mysql.jdbc.Driver
10-
hibernate.connection.url jdbc:mysql://hibern8.cctaez8ywvn2.eu-west-1.rds.amazonaws.com:3306/hibernate_orm_test
10+
hibernate.connection.url jdbc:mysql://localhost:3306/hibern8
1111
hibernate.connection.username hibernateormtest
1212
hibernate.connection.password hibernateormtest
1313

hibernate-spatial/databases/oracle11g_connection_finder/matrix.gradle renamed to hibernate-spatial/databases/mysql8/matrix.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
55
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
66
*/
7-
jdbcDependency "com.oracle.jdbc:ojdbc6:11.1.0.7.0"
7+
jdbcDependency "mysql:mysql-connector-java:8.0.12"
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#
2+
# Hibernate, Relational Persistence for Idiomatic Java
3+
#
4+
# License: GNU Lesser General Public License (LGPL), version 2.1 or later.
5+
# See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
6+
#
7+
8+
hibernate.dialect org.hibernate.spatial.dialect.mysql.MySQL56SpatialDialect
9+
hibernate.connection.driver_class com.mysql.jdbc.Driver
10+
hibernate.connection.url jdbc:mysql://localhost:3306/hibern8
11+
hibernate.connection.username hibernateormtest
12+
hibernate.connection.password hibernateormtest
13+
14+
15+
hibernate.connection.pool_size 5
16+
17+
hibernate.show_sql true
18+
hibernate.format_sql true
19+
20+
hibernate.max_fetch_depth 5
21+
22+
hibernate.cache.region_prefix hibernate.test
23+
hibernate.cache.region.factory_class org.hibernate.testing.cache.CachingRegionFactory
24+
25+

hibernate-spatial/databases/oracle11g_spatial_native/matrix.gradle renamed to hibernate-spatial/databases/oracle12c_connection_finder/matrix.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
55
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
66
*/
7-
jdbcDependency "com.oracle.jdbc:ojdbc6:11.1.0.7.0"
7+
jdbcDependency "com.oracle:ojdbc7:12.1.0.2.0"

hibernate-spatial/databases/oracle11g_connection_finder/resources/hibernate.properties renamed to hibernate-spatial/databases/oracle12c_connection_finder/resources/hibernate.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
hibernate.dialect org.hibernate.spatial.dialect.oracle.OracleSpatial10gDialect
99
hibernate.connection.driver_class oracle.jdbc.driver.OracleDriver
10-
hibernate.connection.url jdbc:oracle:thin:@localhost:1521/orcl12c
10+
hibernate.connection.url jdbc:oracle:thin:@localhost:1521:ORCLCDB
1111
hibernate.connection.username C##hibernate
1212
hibernate.connection.password hibernate
1313

hibernate-spatial/databases/oracle11g_spatial/matrix.gradle renamed to hibernate-spatial/databases/oracle12c_spatial/matrix.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
55
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
66
*/
7-
jdbcDependency "com.oracle.jdbc:ojdbc6:11.1.0.7.0"
7+
jdbcDependency "com.oracle:ojdbc7:12.1.0.2.0"

hibernate-spatial/databases/oracle11g_spatial/resources/hibernate.properties renamed to hibernate-spatial/databases/oracle12c_spatial/resources/hibernate.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
hibernate.dialect org.hibernate.spatial.dialect.oracle.OracleSpatial10gDialect
99
hibernate.connection.driver_class oracle.jdbc.driver.OracleDriver
10-
hibernate.connection.url jdbc:oracle:thin:@localhost:1521/orcl12c
10+
hibernate.connection.url jdbc:oracle:thin:@localhost:1521:ORCLCDB
1111
hibernate.connection.username C##hibernate
1212
hibernate.connection.password hibernate
1313

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/*
2+
* Hibernate, Relational Persistence for Idiomatic Java
3+
*
4+
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
5+
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
6+
*/
7+
jdbcDependency "com.oracle:ojdbc7:12.1.0.2.0"
8+

hibernate-spatial/databases/oracle11g_spatial_native/resources/hibernate.properties renamed to hibernate-spatial/databases/oracle12c_spatial_native/resources/hibernate.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
hibernate.dialect org.hibernate.spatial.dialect.oracle.OracleSpatialSDO10gDialect
99
hibernate.connection.driver_class oracle.jdbc.driver.OracleDriver
10-
hibernate.connection.url jdbc:oracle:thin:@localhost:1521/orcl12c
10+
hibernate.connection.url jdbc:oracle:thin:@localhost:1521:ORCLCDB
1111
hibernate.connection.username C##hibernate
1212
hibernate.connection.password hibernate
1313

0 commit comments

Comments
 (0)