HP Neoview SQL Reference Manual page 114

Hide thumbs Also See for Neoview SQL:
Table of Contents

Advertisement

connection.close();
}
catch (SQLException e)
{
SQLException nextException;
nextException = e;
do
{
} while ((nextException = nextException.getNextException()) != null);
}
}
}
114
SQL Statements
rowNo = 0;
while (rs.next())
{
rowNo++;
for (int j=1; j <= rsMD.getColumnCount(); j++)
{
System.out.println(rs.getObject(j));
}
}
System.out.println("");
System.out.println("--- SQL operation complete");
rs.close();
}
System.out.println(nextException.getMessage());
System.out.println("SQLState
System.out.println("Error Code " + nextException.getErrorCode());
" + nextException.getSQLState());

Advertisement

Table of Contents
loading

Table of Contents