Posts by Lais Sant'ana • 29 points
5 posts
- 
		0 votes1 answer19 viewsA: Error trying to use AVG in @query SpringI found the answer,was missing do group by with all fields. @Query(value = "select new br.com.feirasverdes.backend.dto.EstabelecimentoDto" + "(e.id, e.nome, e.telefone, e.endereco, avg(a.nota)) " +… 
- 
		1 votes1 answer19 viewsQ: Error trying to use AVG in @query SpringWhen trying to perform a query to return the average score with spring null error appears. When I test without avg(a.note) it returns the data correctly. @Query(value = "select new… 
- 
		-1 votes2 answers48 viewsQ: Null Pointer Exception when trying to perform a @PUTI’m testing the put by Postman but is giving null Pointer Exception when I try to perform @put @PUT @Path("/{idCliente}") @Consumes(MediaType.APPLICATION_JSON) @Produces(MediaType.APPLICATION_JSON)… javaasked Lais Sant'ana 29
- 
		0 votes1 answer3239 viewsQ: ERROR Nullinjectorerror: R3injectorerror(Appmodule)[ Vendacomponent -> Vendacomponent]No Provider for Vendacomponent!I am creating a page for sale and when I click to add product is to open a screen with registered products. In the tutorial I was following he added in the constructor a class that has the array… 
- 
		1 votes2 answers69 viewsQ: Form not returning Angular dataI’m making a form and after saving the client I want to list the customers. I performed the code but on the screen is not returning the data but is appearing the line after registering a new client,…