Posts by cleberprojas • 56 points
3 posts
-
0
votes1
answer146
viewsA: help to structure an if with results from a list
Friend, have you ever stopped to think, that if you don’t have the item in stock, you shouldn’t even show this option to the customer? Or, you should validate if you have stock before adding it to…
javaanswered cleberprojas 56 -
1
votes1
answer50
viewsA: How do I add the "same" object to a list and change a property?
I’ve had this problem of references, if you don’t want to keep giving New Object in the add method of the List, you make your Subscript class ready to implement the interface Cloneable and then use…
-
0
votes2
answers105
viewsA: creation of tables to register questions in postgresql
Use INTEGER REFERENCES in place of FOREIGN KEY references Reference -> http://www.postgresqltutorial.com/postgresql-foreign-key/ Example: CREATE TABLE tab_dominio (id_dominio SERIAL NOT NULL…
postgresqlanswered cleberprojas 56