-
Notifications
You must be signed in to change notification settings - Fork 435
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
inserting large-ish multipolygon w/ prepared statement using setObject(...)
fails
#1270
Comments
Hi @mprins , |
mprins
added a commit
to B3Partners/jdbc-util
that referenced
this issue
Mar 3, 2020
mprins
added a commit
to B3Partners/brmo
that referenced
this issue
Mar 3, 2020
Simplified reproduction code:
|
Hi @mprins , |
mprins
added a commit
to B3Partners/brmo
that referenced
this issue
Mar 5, 2020
@ulvii Thanks! |
mprins
added a commit
to B3Partners/jdbc-util
that referenced
this issue
Mar 6, 2020
mprins
added a commit
to B3Partners/brmo
that referenced
this issue
Mar 9, 2020
mprins
added a commit
to B3Partners/jdbc-util
that referenced
this issue
Mar 12, 2020
mprins
added a commit
to B3Partners/jdbc-util
that referenced
this issue
Mar 16, 2020
mprins
added a commit
to B3Partners/brmo
that referenced
this issue
Mar 16, 2020
mprins
added a commit
to B3Partners/jdbc-util
that referenced
this issue
Apr 14, 2020
mprins
added a commit
to B3Partners/brmo
that referenced
this issue
Apr 14, 2020
mprins
added a commit
to B3Partners/brmo
that referenced
this issue
Apr 21, 2020
mprins
added a commit
to B3Partners/jdbc-util
that referenced
this issue
May 15, 2020
#1337 merged. |
mprins
added a commit
to B3Partners/jdbc-util
that referenced
this issue
May 29, 2020
mprins
added a commit
to B3Partners/brmo
that referenced
this issue
May 29, 2020
mprins
added a commit
to B3Partners/brmo
that referenced
this issue
May 30, 2020
mprins
added a commit
to B3Partners/jdbc-util
that referenced
this issue
Jun 4, 2020
mprins
added a commit
to B3Partners/brmo
that referenced
this issue
Jun 4, 2020
mprins
added a commit
to B3Partners/jdbc-util
that referenced
this issue
Jun 5, 2020
mprins
added a commit
to B3Partners/brmo
that referenced
this issue
Jun 5, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Driver version
8.2.1.jre8SQL Server version
docker versions of mssql 2017 and 2019:
Sep 13 2019 15:49:57
Copyright (C) 2017 Microsoft Corporation
Developer Edition (64-bit) on Linux (Ubuntu 16.04.6 LTS)
Feb 3 2020 16:40:57
Copyright (C) 2019 Microsoft Corporation
Developer Edition (64-bit) on Linux (Ubuntu 16.04.6 LTS)
Client Operating System
Ubuntu 19.10JAVA/JVM version
openjdk version "1.8.0_242"
OpenJDK Runtime Environment (build 1.8.0_242-8u242-b08-0ubuntu3~19.10-b08)
OpenJDK 64-Bit Server VM (build 25.242-b08, mixed mode)
Table schema
You can:
Problem description
When inserting a certain geometry using a prep. statement with
setObject(...)
a failure is generated, while inserting the geometry usingsetSting(...)
+geometry::STGeomFromText(...)
works. UsingsetObject()
works for other geometries, validating the WKT in the database yields "24400: Valid" for the testdata.I also checked the WKT in postgis + qgis for validity with OK result.
JDBC trace logs
console output of insert operation for geometry 2
Reproduction code
A repo with testcase + code is available at https://github.com/mprins/mssql-large-wkt
The essence is
Where object is a
com.microsoft.sqlserver.jdbc.Geometry
; this is succesful for most, but not for some geometries.The text was updated successfully, but these errors were encountered: