// Выбрать коды валют из таблицы CURRENCY в вектор
static void selectCurrency () {
try {
"select id_currency from currency");
while (rset.next ()) {
cv.addElement (rset.getObject (1));
}
}
System.
out.
println ("SQL exception:" + sqle.
getMessage ());
System.
out.
println ("SQLState:" + sqle.
getSQLState ());
System.
out.
println ("VendorError:" + sqle.
getErrorCode ());
}
catch (Exception sqle
) {sqle.
printStackTrace ();
} }