DeleteRow

0 respostas
M

Alguem sabe como proceder como DeleteRow?

Fiz assim:

PreparedStatement StatementeAAA = Conn.prepareStatement(varQuery, ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE);
ResultSet AAA = StatementeAAA.executeQuery();

Mas não funciona.
Logo depois faço a pergunta:

if (evento.getConcurrency() == ResultSet.CONCUR_READ_ONLY)

{

System.out.println(ResultSet não updatable.);

}

else

{

System.out.println(ResultSet updatable.);

}

e vem que é um ResultSet não updatable.

MM

Criado 19 de março de 2008
Respostas 0
Participantes 1