Skip to content

Commit

Permalink
; expected
Browse files Browse the repository at this point in the history
  • Loading branch information
SiddharthBITS committed Jan 22, 2025
1 parent 21afd04 commit cc1ba57
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/JDBC/src/test/java/com/sqlsamples/TestQueryFile.java
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ public void TestQueryBatch(String inputFileName) throws SQLException, ClassNotFo
try
{
Statement stmt = connection_bbl.createStatement();
ResultSet rs = stmt.executeQuery("SELECT @@VERSION;")
ResultSet rs = stmt.executeQuery("SELECT @@VERSION;");

// Get metadata about the result set
ResultSetMetaData metaData = rs.getMetaData();
Expand All @@ -494,7 +494,8 @@ public void TestQueryBatch(String inputFileName) throws SQLException, ClassNotFo

// Print data rows
while (rs.next()) {
for (int i = 1; i <= columnCount; i++) {
for (int i = 1; i <= columnCount; i++)
{
System.out.print(rs.getString(i) + "\t");
}
System.out.println();
Expand Down

0 comments on commit cc1ba57

Please sign in to comment.