Pessoal,
Como eu posso verificar qts itens foram atualizados no código abaixo:
try {
PreparedStatement stmt = this.connection.prepareStatement(
"update forma_pagto_anu_classif "
+ " set nom_forma_pagto_anu = ? " //vFpg.Nom_forma_pagto
+ " where cod_forma_pagto_anu = ? " //vfpg.cod_forma_pagto
);
stmt.setString(1, entrada.getFpgDescricao());
stmt.setInt(2, entrada.getFpgId());
stmt.execute();
stmt.close();
System.out.println("Gravado!");
} catch (SQLException e) {
e.printStackTrace();
}