File tree Expand file tree Collapse file tree
main/java/com/microsoft/sqlserver/jdbc
test/java/com/microsoft/sqlserver/jdbc/bulkCopy Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3573,6 +3573,6 @@ protected void setDestinationTableMetadata(SQLServerResultSet rs) {
35733573 private boolean unicodeConversionRequired (int jdbcType , SSType ssType ) {
35743574 return ((java .sql .Types .CHAR == jdbcType || java .sql .Types .VARCHAR == jdbcType
35753575 || java .sql .Types .LONGNVARCHAR == jdbcType )
3576- && (SSType .NCHAR == ssType || SSType .NVARCHAR == ssType || SSType .NVARCHARMAX == ssType ));
3576+ && (SSType .NCHAR == ssType || SSType .NVARCHAR == ssType || SSType .NVARCHARMAX == ssType ) && ! connection . isAzureDW () );
35773577 }
35783578}
Original file line number Diff line number Diff line change @@ -365,7 +365,7 @@ public void testInvalidCM() throws SQLException {
365365 }
366366 }
367367 }
368-
368+ @ Tag ( Constants . xAzureSQLDW )
369369 @ Test
370370 @ DisplayName ("BulkCopy:test unicode char/varchar to nchar/nvarchar" )
371371 public void testUnicodeCharToNchar () throws SQLException , ClassNotFoundException {
You can’t perform that action at this time.
0 commit comments