Posts by Mussum • 36 points
3 posts
-
1
votes1
answer22
viewsA: Compare id in two tables and return sql promo value
Good afternoon, would look something like this: SELECT DESCONTO, IDPRODUTO FROM PRODUTOS P INNER JOIN PROMOCAO PR ON PR.IDCATEGORIA = P.IDCATEGORIA WHERE P.IDPRODUTO = X AND PR.ATIVO = 1; PR.ACTIVE…
-
0
votes1
answer46
viewsA: Token does not validate request
The error was in two annotations in the class ResourceServerConfig. She’d have to have the notes @EnableWebSecurity and @EnableResourceServer being like this: @Configuration @EnableWebSecurity…
-
0
votes1
answer46
viewsQ: Token does not validate request
I’m following a spring course that’s possibly a little outdated. But I’ll get used to it. The thing is, right now, I have a problem that I can’t solve/understand. I make a token request, I receive…