Posts by Alexandre Bezerra • 1 point
11 posts
-
0
votes1
answer51
viewsA: Responsive/liquid layout
Add a class called wrapper to your css and call it after the container class and put all the content inside the wrapper class. make the following changes to your container #container {float: left;…
-
-1
votes1
answer77
viewsA: Responsive Design- Html
This is not the right way to create a supporting structure... the right first is to create a div that fills the entire screen and adjusts the width of the screen and then a wrapper class that makes…
-
-1
votes4
answers140
viewsA: Error in PHP code of "Invalid Parameter number" in sales code that must restore or remove the quantity of products in another table
@vorbbel, It seems to me that there is an error in your question, if you have 15 and were sold a quantity of 5 items and then 3 were withdrawn, being sold only 2, then your stock would be with 13…
-
0
votes2
answers3235
viewsA: Format Localdate and pass as Parameter
Your code is wrong because when using Localdate Parse, by default the return will be in iso format (yyyy-MM-dd). The mask you use in the parse method is the mask that is in the variable you reported…
-
0
votes2
answers1946
viewsA: Converting a String to Localdate
The goal of the post was to show how to convert a string to Localdate and the example given with Ld.minusDay was an example of the operation working. But to have a sequence in the next run just use…
-
-3
votes2
answers1946
viewsQ: Converting a String to Localdate
I was taking a date in a jLabel in the format dd/MM/yyyy and trying to convert it to Localdate and then use it with Localdate methods, but I ran into some errors and found nothing on the internet…
-
0
votes2
answers142
viewsA: Error with.mysql.jdbc.exceptions.jdbc4.Mysqlintegrityconstraintviolationexception: Cannot add or update a Child Row: a Foreign key Constraint fails
Follows the solution. @Test public void insert() { ClienteDao cdao = new ClienteDao(); cdao.executeSql("SELECT CLIENTE.*, ORDEM_DE_SERVICO.*, ORCAMENTO.*, SERVICO.ID AS SERVICO_ID FROM CLIENTE,…
-
0
votes2
answers142
viewsQ: Error with.mysql.jdbc.exceptions.jdbc4.Mysqlintegrityconstraintviolationexception: Cannot add or update a Child Row: a Foreign key Constraint fails
Good people, I have this mistake and I can’t see the solution. I’m working on my first post-college project and I’m in need of some guidance. I have tables: Client, Ordemdeservico, Budget, Service…
-
0
votes1
answer386
viewsA: Error generating pdf report from a jsp page
I found a solution and it worked very well... I will leave the code as an example to those who need... Connection conn = ConnectionFactory.getConnection(); String jasper = null; jasper =…
-
-1
votes1
answer386
viewsQ: Error generating pdf report from a jsp page
I have a problem generating pdf report using jsp and jasperreport. Initially, on my desktop where my server was glashfish, the code ran well, but when publishing the page on a Tomcat server, it gave…
-
-2
votes1
answer529
viewsQ: How to create a table in Oracle using Foreign key
The situation is that I have a table called OS and I want to create a link from this OS table to the CLIENT using the CPF column as FK. Where I am missing? I am editing the databank straight from…
oracleasked Alexandre Bezerra 1