Posts by Catatau • 1 point
4 posts
-
0
votes1
answer144
viewsA: Image corrupted using Uploadedfile from Primefaces with Ftpclient
I tested it today and it worked I think it was cache problem not to have worked before, it is solved. fTPClient.setFileType(FTP.BINARY_FILE_TYPE);
-
0
votes1
answer144
viewsQ: Image corrupted using Uploadedfile from Primefaces with Ftpclient
Hello folks I am having problem in Primefaces component "File Upload", while trying to save the file via "Ftpclient" the file gets corrupted. Form configuration <h:form id="formNavegacao"…
-
0
votes1
answer233
viewsA: You are not setting the value in the.setParameter query when trying to make a query in the database
I’ve decided it’s so thank you guys: public List<Funcionario> autenticar(Funcionario funcionario) { Query query = getEm().createNamedQuery("Funcionario.autenticar");…
-
0
votes1
answer233
viewsQ: You are not setting the value in the.setParameter query when trying to make a query in the database
I’m having a problem when it comes to setting a value on query.setParameter. Use Ecliselink and Mysql, I made a query without setting parameters and it worked, I wonder if it can be? Class where I…