Skip to content
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

Fix spatial datatypes cast error when AE is enabled #1353

Merged
merged 1 commit into from
Jun 10, 2020

Conversation

peterbae
Copy link
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