現在、次の方法を使用して、準備されたステートメントから結果セットのコンテンツにアクセスしています
std::string SQL = "....";
prep_stmt = con->prepareStatement(SQL);
res = prep_stmt->executeQuery();
if(res->next()) //If object exists
{
res->getString("ColumnName"); //Access the content of a column
}
前もって結果セットの行にアクセスする方法はありますかres->next()