Skip to content

Get TVP name from SQLServerDataTable when using PreparedStatement.setObject()#1282

Merged
ulvii merged 3 commits intomicrosoft:devfrom
ulvii:issue1281
Mar 27, 2020
Merged

Get TVP name from SQLServerDataTable when using PreparedStatement.setObject()#1282
ulvii merged 3 commits intomicrosoft:devfrom
ulvii:issue1281

Conversation

@ulvii
Copy link
Copy Markdown
Contributor

@ulvii ulvii commented Mar 14, 2020

PR For #1281.

When SQLServerDataTable is passed in as an argument to PreparedStatement.setObject(), it makes sense to first attempt to get the TVP name from that object, before querying database for metadata.

@ulvii ulvii added this to the 8.3.0 milestone Mar 23, 2020
peterbae
peterbae previously approved these changes Mar 23, 2020
rene-ye
rene-ye previously approved these changes Mar 26, 2020
Comment thread src/test/java/com/microsoft/sqlserver/jdbc/TestUtils.java Outdated
@ulvii ulvii dismissed stale reviews from rene-ye and peterbae via b3e9717 March 27, 2020 16:13
@ulvii ulvii merged commit 02af541 into microsoft:dev Mar 27, 2020
@ulvii ulvii deleted the issue1281 branch March 27, 2020 16:15
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