Posts by Jardel Novaes • 81 points
4 posts
-
0
votes3
answers15702
viewsA: Difference between private final and private final Static for the use of immutability
When you do not use Static you will have the variable created for each instance of the object, already using Static it will be created only once (it will be of the class and not of the instance).…
javaanswered Jardel Novaes 81 -
1
votes1
answer181
viewsA: How to insert multiple rows of a single query using the same ID
You need to create a new instance every new record you want to create, in your case you are just changing the same record N times. if(isset($caneta)) { $estoqdet = new EstoqueDet();…
-
1
votes1
answer86
viewsA: Procedure - Error code Mysql : #1064
I believe the structure of your trial is wrong, try it this way: DELIMITER $$ CREATE PROCEDURE nome_da_proc (<seus parametros>) BEGIN /* seu conteudo */ END $$ DELIMITER ;…
mysqlanswered Jardel Novaes 81 -
3
votes2
answers85
viewsA: Modeling of Models 1 to n
It would not be the case to have the modeling below? Thinking OO, we have a teacher object, a schedule and a mode. Where do they meet? In my opinion in Class. Each class is unique in the week and it…