hi all ! I have this piece of code in my java servlet
SELECT idPaciente, Nombres, Apellidos, DNI_NIF, Sexo, Nacimiento, tlf, tlf2, email," +
" Direccion, Ciudad, Provincia, CP, Canal, Prescriptor, Cobertura, Seguridad_Social, Alta," +
" Condicion, Responsable, Nombremp, NIFemp, Direccionemp, FormaPago, AES_DECRYPT(Cuenta,'text_key')," +
" Baja FROM PACIENTE WHERE idPaciente=?
And its telling me that Error: Column 'Cuenta' not found.
If I test the same query filling the ? into values in mysql query browser it works, I dont know what Im missing, Im loading the correct table in the correct context. And the column exists...
Any help is appreciated.