Posts by Athos Bonner • 36 points
3 posts
-
1
votes2
answers48
viewsA: Null Pointer Exception when trying to perform a @PUT
The Nullpointer is probably in the System.out.println(client.toString()) line; that the client object is not arriving in this method. Checks if the data you are passing in Postman is the same as the…
javaanswered Athos Bonner 36 -
1
votes2
answers1581
viewsA: Function with Insert according to a select that returns a list of ID’s - Postgresql
What you want to do is insert these ids in a link table, but from what I understand this tab_2 returns multiple ids, so in the end the insert gets like this: INSERT INTO tb_3 (tb_1_id,1) INSERT INTO…
-
0
votes2
answers548
viewsA: Rows in Columns (SQL)
Jeferson Cruz the best way to sort results is with order by and then the field you want to sort, eg: select * from app_sample order by sequential_order. You can take the example of Rodolpho Sa and…