Posts by Keoma • 106 points
3 posts
-
0
votes4
answers822
viewsA: When is a string considered a primitive type in web development?
A very simple explanation is that String is an array of char, so it is an object. However, to facilitate the programmer’s life, the string behaves as a primitive type and also has object…
-
4
votes3
answers27643
viewsA: Get checkbox values with javascript
The code this works, what do you really want to do? If you just take the values of the checkbox marked you do not need to put the "onClick ='soma()'" on each one, just create a button, for example,…
javascriptanswered Keoma 106 -
5
votes1
answer4675
viewsA: "Detached Entity passed to persist" when inserting for the second time
If the strategy is for automatic generation of ids through sequences, setting an ID in the entity can bring problems. Before persisting call User.setIdUt(null).