Posts by Bruno Nicoletti • 81 points
15 posts
-
0
votes2
answers75
viewsA: Error Scanning Evreflection Bool
The solution passed by git was to initialize Bool class Ingrediente: EVNetworkingObject { var idIngrediente:NSNumber! var nomeIngrediente:String! var adicional:Bool = false var…
swiftanswered Bruno Nicoletti 81 -
0
votes1
answer118
viewsA: Convert Jsonarray to Object
Alamofire.request(urlbusca, method: .get) .responseJSON { response in if(response.result.isSuccess){ let jsonc = JSON(response.result.value!) for config in jsonc{ let confi…
swiftanswered Bruno Nicoletti 81 -
1
votes2
answers75
viewsQ: Error Scanning Evreflection Bool
I have a class: class Ingrediente: EVNetworkingObject { var idIngrediente:NSNumber! var nomeIngrediente:String! var adicional:Bool! var valorAdicional:NSNumber! var empresa:NSNumber! } and this…
swiftasked Bruno Nicoletti 81 -
0
votes1
answer118
viewsQ: Convert Jsonarray to Object
I’m having trouble converting an array I get via webservice CustomRequest request = new CustomRequest(Request.Method.GET, "http://" + url + "/service/usuario/mural", null, new…
swiftasked Bruno Nicoletti 81 -
0
votes0
answers1502
viewsQ: https problem Excessive redirection
On my web system, when I add code to web.xml: <security-constraint> <display-name>ConstraintSSL</display-name> <web-resource-collection>…
-
0
votes1
answer76
viewsQ: Subreport Directory
I’m having trouble locating the subreport when I was using the local project it worked perfectly, but now that I’ve moved to the server it’s not locating the subreport. I’m trying to use it like…
-
0
votes1
answer286
viewsA: Criteria Bringing Duplicate Hibernate Data to JSF
The problem happens when there is a toMany in this case has to add @Fetch(FetchMode.SELECT) this link has a perfect explanation:…
-
0
votes1
answer55
viewsA: Add Class Size to Product
I created a table: <div class="input-field col s12"> <p:dataTable id="listaTamanhos" emptyMessage="" value="#{tamanhoBean.listaTamanho}" var="tam"> <p:column class="center-align"…
javaanswered Bruno Nicoletti 81 -
2
votes1
answer286
viewsQ: Criteria Bringing Duplicate Hibernate Data to JSF
I am receiving duplicate data or sometimes missing data until, how can I solve? This is my DAO: public List<Produto> filtrados(Filtro filtro) { try { Criteria criteria =…
-
1
votes1
answer55
viewsQ: Add Class Size to Product
I need to do something that when you register a product, make a pizza equal in size and each size in price. So I created a size class. public class Tamanho implements Serializable { @Id…
javaasked Bruno Nicoletti 81 -
1
votes1
answer1403
viewsQ: Error while converting to Json with Gson
Guys, I’m having this error when converting the object to json. I’m using gson. I have tried to send the whole object and had the same error, changed and separated the object to try to locate where…
-
2
votes0
answers287
viewsQ: Electronic Invoice in Java
I have a web system in java that controls the sale of pharmaceuticals and now I need to implement Nfe in this system. I wonder if there are any courses, libraries or even some example where I can…
-
0
votes0
answers216
viewsQ: Error 400 android for web service
I’m getting error 400 when sending parameters to the web service. @POST @Produces("application/json; charset=utf-8") @Consumes("application/json; charset=utf-8") @Path("realizarvenda") public String…
-
1
votes0
answers394
viewsQ: Error 500 when sending android object to web service Rest
I have a problem sending an object from a java class to my web service. Using the Restfull web service on glassfish and android using Volley and gson. I get a 500 error when I try to send the…
-
0
votes0
answers142
viewsQ: Locking system after image upload
People in my system, I upload a certain image, the image is saved in a directory and then saved the product in the bank, until then certain td, the problem is that after saving the product the…