Ver Mensaje Individual
  #8 (permalink)  
Antiguo 12/04/2006, 02:49
hamstelfo
 
Fecha de Ingreso: abril-2006
Mensajes: 1
Antigüedad: 18 años, 11 meses
Puntos: 0
Esta es la clave

Por si le sirve a alguien, a mi tp me iba el getFetchSize, pero aki esta la solucion

r=st.executeQuery(sql);
r.last();
int numRows = r.getRow();
r.beforeFirst(); // esto te lo deja como al principio
out.print(numRows);