Hi Junior, Calling the byte[].toString() method is rarely going to be useful. I don't know how you want to encode your binary data, base64? I guess you'll need a library for that.
Hope this helps, Lukas Am Mi., 4. Juli 2018 um 20:16 Uhr schrieb Junior Manzini < [email protected]>: > Hello > I'm building a dto with mysql data but I'm having trouble getting the > record of a LONGBLOB field, doing this: > > byte[] lblobObsSaude = r.get(ALUNO.PSAUDEOBS); > if (lblobObsSaude != null) { > alunoDto.setObservacoesSaude(lblobObsSaude.toString()); > } > > Look how it's in my JSON "observacoesSaude" : "[B@138f5967", > > Thanks > > -- > You received this message because you are subscribed to the Google Groups > "jOOQ User Group" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "jOOQ User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
