Posts by Caio • 23 points
4 posts
-
0
votes2
answers113
viewsA: Quit command in java string, show name and number after typing QUIT
"I’m having problems in everything", if you direct your doubt it’s easier to help you. But your code has some problems, your break is being run always, regardless of the return of your if, because…
-
0
votes1
answer63
viewsA: Intermediate table mapping with JPA attributes
At no time in your code do you tell your Pedidoproduct which order it is from. By mapping, just adding pedidoproduto.setPedido(pedido); would not solve ?
-
1
votes0
answers57
viewsQ: Is it possible to run 2 querys at the same time without creating a FUNCTION?
I have a problem where I need that when creating a new "location" on my system, automatically I need my "Room" table to have the "id_status" that is part of another changed table. This would be…
-
1
votes2
answers118
viewsQ: Receive 3 random values and allocate in 3 variables from smallest to largest
I need to write a program that receives 3 random values and allocate the 3 values in 3 MINOR, INTERMEDIATE and MAJOR variables. I tried something like this, but when printing the values, I get the…