Skip to content

Commit

Permalink
Merge pull request #1445 from lat-lon/cleanupMssqlDialect-1322
Browse files Browse the repository at this point in the history
Refactored deegree-dialect-mssql module and upgraded JDBC driver for SQL Server
  • Loading branch information
copierrj authored Feb 8, 2023
2 parents 3762c65 + 3eaae54 commit 6c002b8
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 11 deletions.
4 changes: 2 additions & 2 deletions deegree-core/deegree-core-geometry/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
<artifactId>postgis-jdbc</artifactId>
</dependency>
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<groupId>net.postgis</groupId>
<artifactId>postgis-geometry</artifactId>
</dependency>
<dependency>
<groupId>junit</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
<version>7.2.2.jre8</version>
<version>10.2.2.jre11</version>
</dependency>
</dependencies>
</profile>
Expand All @@ -46,6 +46,10 @@
<artifactId>deegree-core-db</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
</dependency>
</dependencies>

</project>
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,12 @@
import org.deegree.sqldialect.filter.AbstractWhereBuilder;
import org.deegree.sqldialect.filter.PropertyNameMapper;
import org.deegree.sqldialect.filter.UnmappableException;
import org.deegree.sqldialect.filter.mssql.MSSQLGeometryConverter;
import org.deegree.sqldialect.filter.mssql.MSSQLWhereBuilder;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.deegree.sqldialect.AbstractSQLDialect;

/**
* {@link SQLDialect} for Microsoft SQL databases.
* {@link SQLDialect} for Microsoft SQL Server databases.
*
* @author <a href="mailto:schmitz@lat-lon.de">Andreas Schmitz</a>
* @author <a href="mailto:schneider@lat-lon.de">Markus Schneider</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
import org.slf4j.Logger;

/**
* {@link SqlDialectProvider} for Microsoft SQL databases.
* {@link SqlDialectProvider} for Microsoft SQL Server databases.
*
* @author <a href="mailto:schmitz@lat-lon.de">Andreas Schmitz</a>
* @author last edited by: $Author: schneider $
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
e-mail: info@deegree.org
----------------------------------------------------------------------------*/
package org.deegree.sqldialect.filter.mssql;
package org.deegree.sqldialect.mssql;

import static org.slf4j.LoggerFactory.getLogger;

Expand All @@ -52,7 +52,7 @@
import org.slf4j.Logger;

/**
* {@link GeometryParticleConverter} for PostGIS databases.
* {@link GeometryParticleConverter} for Microsoft SQL Server databases.
*
* @author <a href="mailto:schneider@lat-lon.de">Markus Schneider</a>
* @author last edited by: $Author: mschneider $
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
e-mail: info@deegree.org
----------------------------------------------------------------------------*/
package org.deegree.sqldialect.filter.mssql;
package org.deegree.sqldialect.mssql;

import static java.sql.Types.BOOLEAN;
import static org.deegree.commons.tom.primitive.BaseType.DECIMAL;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
e-mail: info@deegree.org
----------------------------------------------------------------------------*/
package org.deegree.sqldialect.filter.mssql;
package org.deegree.sqldialect.mssql;

import org.deegree.commons.tom.primitive.PrimitiveValue;
import org.deegree.commons.xml.CommonNamespaces;
Expand Down
5 changes: 5 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -809,6 +809,11 @@
<artifactId>postgis-jdbc</artifactId>
<version>2.5.1</version>
</dependency>
<dependency>
<groupId>net.postgis</groupId>
<artifactId>postgis-geometry</artifactId>
<version>2.5.1</version>
</dependency>
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
Expand Down

0 comments on commit 6c002b8

Please sign in to comment.