Skip to content

Commit 171079f

Browse files
authored
fix
Updated comment to clarify the validation of inserted rows.
1 parent 697571d commit 171079f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/com/microsoft/sqlserver/jdbc/preparedStatement/BatchExecutionWithBulkCopyTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1439,7 +1439,7 @@ public void testBulkCopyBatchInsertWithPersistedComputedColumn() throws Exceptio
14391439
int[] updateCounts = pstmt.executeBatch();
14401440
assertEquals(2, updateCounts.length);
14411441

1442-
// Verify data was inserted correctly
1442+
// Validate inserted rows, including computed values
14431443
try (ResultSet rs = stmt.executeQuery("SELECT ProductID, QtyAvailable, InventoryValue, UnitPrice FROM "
14441444
+ tableName + " ORDER BY ProductID")) {
14451445
assertTrue(rs.next());

0 commit comments

Comments
 (0)