Ver Mensaje Individual
  #8 (permalink)  
Antiguo 17/12/2009, 14:35
yakima
 
Fecha de Ingreso: diciembre-2009
Mensajes: 5
Antigüedad: 15 años, 2 meses
Puntos: 0
Respuesta: for input string " "

W.
es el que pongo al final ..ahi va de nuevo...Vi que tenia problema con unas comillitas pero me sigue dandoo bateo ahi..Saludos

Metodo DevolverIdLibro

public static ResultSet DevolverIdLibro(String titulo) throws SQLException, Exception {
String query=("select idLibro from libro where titulo="+titulo);
return getConection().createStatement().executeQuery(quer y);
}

me dice esto
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1

se las pongo y me da y se las quito y me da tambien..ajajja