예제 #1
0
 private JSONObject convertToJson(ResultSet cursor) throws SQLException {
   JSONObject ja = ResultSetToJson.ResultSetToJsonObject(cursor);
   cursor.close();
   return ja;
 }
예제 #2
0
 private JSONArray convertToJsonArray(ResultSet cursor) throws SQLException {
   JSONArray ja = ResultSetToJson.ResultSetToJsonArray(cursor);
   cursor.close();
   return ja;
 }