Posts by eugenissimo • 25 points
8 posts
-
0
votes2
answers78
viewsA: Print variable in java
System.out.println("Your text is inserted here, between double quotes"); In the case of your variable is System.out.println(password);
-
0
votes3
answers92
viewsA: Error using case clause inside a Where
I solved it. It was a syntax error. It was like this: AND refs.rv_domain = (CASE when ST.cod_sistema = 'LS' THEN 'DA_GRP_TPO_SERVICO_LS' when ST.cod_sistema = 'IH' THEN 'DA_GRP_TPO_SERVICO_IH' when…
-
0
votes3
answers92
viewsQ: Error using case clause inside a Where
I’m having the following error in trying to use the case clause of a WHERE. ORA-00905: palavra-chave não encontrada 00905. 00000 - "missing keyword" *Cause: *Action: Erro na linha: 56 Coluna: 39 My…
-
1
votes1
answer71
viewsQ: Error picking value returned with query.getResultList(). get(0)
I need to get the value of a query, simply a field and I’m making the following mistake: java.math.BigDecimal cannot be cast to java.lang.String. My DAO is like this: public String…
-
0
votes2
answers53
viewsA: Conditional Checkbox
I transformed the values into Boolean and Component manipulate them in the following way: checkboxExecutado(ocorrenciaSolicitacaoVO) { ocorrenciaSolicitacaoVO.statusExecutado =…
-
0
votes2
answers53
viewsQ: Conditional Checkbox
I need to perform a validation when selecting some options in the following checkbox: The rule is this:: If IMPEDITIVE is selected with "S", EXECUTED must be "N". However, both may be N but can…
-
0
votes1
answer148
viewsA: Remove empty line from within Java text
I solved basically with a replace even. So: .replaceAll("(?m)^[ \t]*\r?\n", "") Thanks for all your help.
javaanswered eugenissimo 25 -
0
votes1
answer148
viewsQ: Remove empty line from within Java text
By manipulating a xml return of a service, I do the following manipulation in the file: return xmlServico.replaceAll("job.coincidencia.vo.", "").replaceAll("RNSCoincidenciasMultiRamo_-",…
javaasked eugenissimo 25