Comments (6)
hi @hchenatsafe
We do have tests for bulkcopy using the SQL Variant type, what are you doing different? Could you please provide us with a repro of the issue?
from mssql-jdbc.
Hi @lilgreenbird, thanks for following up!
Your tests seem to be using writeToServer(ResultSet sourceData), which wouldn't run into this issue since sourceResultSet would be set here.
Our application passes a source data object that implements ISQLServerBulkData, so we are using writeToServer(ISQLServerBulkData sourceData) where sourceResultSet seems to be set to null, and we run into this error when writeSqlVariant() is called
from mssql-jdbc.
Could you please include your repro code here along with the schema and connection string used
from mssql-jdbc.
It seems it would be a challenge to untangle our source to provide a clean repro. We'll leave this issue up to your consideration. Thanks for your assistance!
from mssql-jdbc.
thanks @hchenatsafe I can see in the code path that this would be an issue. Looks like this had been an issue since day 1, I will add this as an enhancement and add a note in the doc that this isn't supported right now. Thanks for reporting the issue to us!
from mssql-jdbc.
Facing the same issue. It's a blocker for implementing data transfer pipelines into tables having SQL Variant columns.
from mssql-jdbc.
Related Issues (20)
- Azure TokenCredential class required if using Always Encrypted but not using Azure HOT 1
- Temp tables are accessible across JdbcTemplate calls in a Transaction, but not across NamedParameterJdbcTemplates HOT 3
- Issue with Batch Insertion using PreparedStatement in SQL Server HOT 7
- Release naming causing issues for revision checking software HOT 4
- mssql-jdbc doesn't respect parameters that have stored procedures with default arguments defined HOT 6
- identifier enquoting not implemented (JDBC 4.3) HOT 1
- [QUESTION] Is bulk copy supported on Microsoft Fabric? HOT 2
- Accept concatenated PEM files for trustStore (aka make it easy to use SSL with Amazon RDS) HOT 3
- Mark a (former "stable") release as unstable. HOT 1
- org.apache.ddlutils.DatabaseOperationException: com.microsoft.sqlserver.jdbc.SQLServerException: Invalid object name 'change_streams_destination_type'. HOT 2
- Calling a function with parentheses at the end of the function name returns always 0 HOT 4
- [FEATURE REQUEST] Set Bulk Copy options via connection string HOT 4
- Connection closed after a few seconds HOT 9
- NullPointerException in Bulk Copy HOT 1
- [QUESTION] Performance drop SQL Server compatibility HOT 7
- Followup question on https://github.com/microsoft/mssql-jdbc/issues/2463 HOT 1
- 12.5/12.6 considerably slower than 12.4 when using prepared procedure statements HOT 18
- 12.6.3 procedure return value regression HOT 5
- Reading data from XML column is not possible after closing the ResultSet HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mssql-jdbc.