javaでhsqldbに接続しています。
statement = getConnection().createStatement(); ResultSet resultSet = statement.executeQuery("select count(*) as cnt from test;"); resultSet.getInt(0); resultSet.getInt("cnt");
上記のgetIntはどちらもgetIntのところで例外処理にいきます。
getIntは使えないのでしょうか?
ちなみにsql文は通ります。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2017/01/08 22:31