File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/test/java/com/microsoft/sqlserver/jdbc/preparedStatement Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1435,11 +1435,11 @@ public void testInsertSelectFallbackToNormalExecution() throws Exception {
1435
1435
1436
1436
// Attempt unsupported INSERT-SELECT query for bulk copy api
1437
1437
String insertSelectSQL = "INSERT INTO " + tableNameDestination + " SELECT * FROM " + tableNameSource
1438
- + " WHERE id = ?" ;
1438
+ + " WHERE value = ?" ;
1439
1439
1440
1440
try (SQLServerPreparedStatement pstmt = (SQLServerPreparedStatement ) connection
1441
1441
.prepareStatement (insertSelectSQL )) {
1442
- pstmt .setInt (1 , 1 );
1442
+ pstmt .setString (1 , "TestValue1" );
1443
1443
pstmt .addBatch ();
1444
1444
pstmt .executeBatch (); // This should fall back to normal execution flow
1445
1445
}
You can’t perform that action at this time.
0 commit comments