Skip to content

Fix spatial datatypes cast error when AE is enabled#1353

Merged
peterbae merged 1 commit intomicrosoft:devfrom
peterbae:fixGeomAE
Jun 10, 2020
Merged

Fix spatial datatypes cast error when AE is enabled#1353
peterbae merged 1 commit intomicrosoft:devfrom
peterbae:fixGeomAE

Conversation

@peterbae
Copy link
Copy Markdown
Contributor

@peterbae peterbae commented Jun 4, 2020

Just needed the same treatment as in dtv.java:

} else if (JDBCType.GEOMETRY == jdbcType) {

In the case where the javaType is String but the JDBCType is Geometry or Geography, we need to handle the data a bit differently. Tests with AE enabled passed, and Maven test passed as well.

@ulvii ulvii added this to the 8.4.0 milestone Jun 9, 2020
@peterbae peterbae merged commit 1637fed into microsoft:dev Jun 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants