Questions tagged as 'java'

1
answer

How to change the blue / red color of an edited field

I have the following screen: link How can I change the field, from the list, forecast1 so that it becomes red or blue as I edit it and saved by changing its value. Follow xhtml. <p:dataTable id="produtosTable" val...
asked by 24.07.2017 / 22:22
1
answer

2 counts of InaccessibleWSDLException

I'm developing an application that consumes a web service from a third party company. When I run the application via Eclipse it works perfectly. But when I go through the command line, the error "2 counts of InaccessibleWSDLException" is d...
asked by 25.07.2017 / 02:00
2
answers

getParameter returning the same value

I have a table where you have the column ID - NAME - ACTION 1 - USU1 - SEE 2 - USU2 - SEE 3 - USU3 - SEE In the JSP I am saving the id inside an input hidden. <input type="hidden" value="${operador.id }" name="idOperador"/> I...
asked by 25.07.2017 / 04:33
1
answer

Filter in OneToMany mapping (Spring)

I searched the internet but, I could not understand very well how I would do this using the Hibernate filters. Well, come on: I have a OneToMany: @OneToMany(mappedBy = "pedido", cascade = CascadeType.ALL) @Getter private final List<Pedid...
asked by 20.07.2017 / 02:41
0
answers

SQL Server Connection

I'm trying to connect directly to SQL Server for testing, but at the time of the "Register" test by clicking the button, the app simply hangs, is there something wrong with the code? package br.com.agemstar.testesql; import android.os.StrictMo...
asked by 24.07.2017 / 21:47
0
answers

Java Hibernate help

Persistence.xml <?xml version="1.0" encoding="UTF-8"?> <persistence version="2.1" xmlns="http://xmlns.jcp.org/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocati...
asked by 19.07.2017 / 23:45
1
answer

Using the hashmap to make comparisons

I have the following situation: I get a list of itensVenda , and in it I have associated with Venda . In Venda I have a list of itensVenda and Cliente , and in Client, I have associated a Sales list. I have to...
asked by 20.07.2017 / 02:39
0
answers

I can not update my object after being recovered

I'm trying to update my form after retrieving an object and I can not. My DAO public List<Contato> listar() { List<Contato> contatos = new ArrayList<>(); String sql = "select * from contato"; try (Prepared...
asked by 01.08.2017 / 03:32
1
answer

Forbbiden 403 - Redirect

Displaying an error message when I receive a 403 error, I would like the error message to be defined through an HTML page I created. Do you have any way to redirect? Using AngularJS or Spring itself? I'm using AngularJS with Spring, how do I...
asked by 31.07.2017 / 21:34
1
answer

Passing a text to an EditText

I'm making an android app that reads a barcode. I saw a video on youtube that taught how to do and I replicated to be based and worked good. The problem was when I tried to put the return of the reading on a EditText . In video , the resu...
asked by 29.07.2017 / 05:19