boa tarde, estou tentando salvar um texto com pulo de linha no MySQL, Exemplo do texto:
“cliente esta esperando uma resposta
ligar para ele segunda feira
a partir das 8:00”
estou usando tentando usar dessa forma:
Linha 642: clientes.setOBS(Byte.parseByte(txtOBS.getText()));
porem da o erro
Exception in thread “AWT-EventQueue-0” java.lang.NumberFormatException: For input string: “eae
a
a
acabou”
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:580)
at java.lang.Byte.parseByte(Byte.java:149)
at java.lang.Byte.parseByte(Byte.java:175)
at gui.CadastroDeCliente.CapturaDadosNoFormulario(CadastroDeCliente.java:642)
se alguêm poder me ajudar… desde já obrigado