Posts by Renan • 1 point
7 posts
- 
		0 votes1 answer23 viewsA: Store CSV file data in a listGood night, Matheus, good night! Your program is giving a bang on the stack(stackoverflow hahaha), this using more memory than the application has available, if you are using Tomcat think it is not… 
- 
		0 votes2 answers192 viewsA: How to make the findById method in spring-boot?Beyond the Optional you can also use a ReponseEntinty. Including, when using the Optional take care and check if it is returning any value. 
- 
		0 votes2 answers20 viewsA: How to recover object by URI by passing parameter and showing Request StatusIdeal is to place this logic within a service, for example: if(categoria == null){ trown new NotFoundError("Categoria não encontrada) } //exemplo de classe NotFound public class NotFoundError… 
- 
		0 votes2 answers58 viewsA: Problem with persistence with springMake sure that the Hibernate and Spring versions are compatible. If you can put the dependencies you are using into the project 
- 
		0 votes1 answer47 viewsA: Manytomany jpa - Spring Save Relationship Entity DataGood evening Fabio ! From what I understand the problem in this case you do not need this third class "Pedidoservico". Another detail in case would be a request to have several ne ? service in case… 
- 
		0 votes2 answers32 viewsA: I cannot update my object using PUTI believe it’s because I’m not checking whether the Optional is empty or not, for example: Pessoa pessoaSalva = pessoaRepository.findById(codigo); if(pessoaSalva.isEmpty(){ \\lançar uma exceção aqui… 
- 
		-1 votes3 answers55 views