ResultSet rs;
rs = this.orderedProduct.select(" sum(unitstoproduce) "," soNo = "+ soNo);
int sum = Integer.parseInt(rs.getString(1));
上記のクエリを Java クラス内で実行しようとすると、以下のような例外が発生します。ここで、orderedProduct(orderedZnAlProduct) はテーブルです
SELECT sum(unitstoproduce) FROM orderedZnAlProduct WHERE soNo = '15005'
java.sql.SQLException: Before start of result set