Posts by Mario Bressan • 40 points
7 posts
-
0
votes7
answers7167
viewsA: How to receive the CPF number and format to be without the dots and dash(Input Mask )
In JS has the function replace(). You can do something like cpfComMascara.replace("\D", "") In regex \d means digit. The uppercase letter is the opposite. Therefore, regex will replace non-digit…
-
0
votes2
answers56
viewsA: update from a vehicle plate code
This is because you are setting the color in a table that has a relationship with the tb_modelo_vehicle table. Just when you update the color table, the table tb_modelo_vehicular, which has a fk for…
mysqlanswered Mario Bressan 40 -
0
votes1
answer112
viewsA: How to deal with the null values of an array when converting from String to Double?
The problem must occur because you are trying to build a Double object from an empty String. What makes releasing java.lang.Numberformatexception: Empty String, if it were a null string would also…
-
0
votes2
answers46
viewsA: Binary Replication with Java
Below is a solution: String query = "SELECT NOME, IMAGEM FROM LR_TABLE WHERE ID = 1"; Statement st = conn.createStatement(); ResultSet rs = st.executeQuery(query); try { String nome = null; while…
-
0
votes2
answers46
viewsQ: Binary Replication with Java
I’m trying to replicate a binary field that represents an image on the Oracle. Could you tell me the best way to take this data and insert it again? The field in Oracle is LONG RAW. What kind of…
-
-1
votes1
answer111
viewsQ: JSF Post with Spring Boot - Viewexpiredexception
When I try to submit a form I get the following error: javax.faces.application.Viewexpiredexception: /Patient-form.jsf - No saved view state could be found for the view Identifier: /Patient-form.jsf…
-
1
votes0
answers670
viewsQ: Login pgAdmin 4
I installed pgAdmin 4 in Debian and when accessing the login screen it asks me for email and password. I expected it to ask the user "postgres" and password. I would like to know how to register…