Posts by Marcelo Vasconcelos • 160 points
5 posts
-
2
votes3
answers2459
viewsA: How useful are Java Annotations?
Annotations is a powerful tool, and its greatest power is to "configure" objects without the need to know the content and formation of the class. I will use the classic example in explanation of…
-
5
votes3
answers1143
viewsA: Loop output within another loop with SQL and PHP
Well, the way it was marked as a solution I see a problem, you will call several times your database to receive each row of the first table its corresponding in the second table, ie consumption.…
-
3
votes1
answer869
viewsA: Change Method using Java and SQL
First let’s settle something. cli.Alterarcliente(cli, con); This makes no sense, I am receiving as a parameter myself. Another question, separate what is Persistence from the rest of your system,…
-
2
votes1
answer1248
viewsA: SQL Query count
What happens is that when doing the Inner Join with the table participants he associating a row of the table result for each row of the table participants. If the idea is to return the medals totals…
-
1
votes2
answers1435
viewsA: Doubt about Listener for Jcombobox
I use the Itemlistenner and it works. I do it this way. combobox.addItemListener(new java.awt.event.ItemListener() { public void itemStateChanged(java.awt.event.ItemEvent evt) { if…