Posts by Matheus Cirillo • 126 points
4 posts
-
0
votes2
answers1348
viewsA: Cannot resolve Reference to bean 'jpaMappingContext' while Setting bean Property 'mappingContext'
The configuration properties of the JPA provider, in your case, Hibernate, must have the prefix properties before the property to be configured. Change of:…
-
0
votes1
answer120
viewsA: How do I leave my Hibernate (Spring Boot) dynamic query?
You are returning a list of TB_TIMELINE, but when you do SELECT T.NR_EVENT ..., you are not selecting a TB_TIMELINE, you are selecting a NR_EVENT (which is an entity field). Thus, Spring Data cannot…
-
0
votes1
answer133
viewsA: API Rest Spring boot
Clienterepository.java @Repository public interface ClienteRepository extends JpaRepository<Cliente, Integer> { List<Cliente> findByNome(String nome); } Clienteresource.java…
-
1
votes1
answer46
viewsA: Doubt about layers needed in a simple Gateway made in STS
TL;DR No, do not place business objects inside a gateway. Keep your coupling as weak as possible. Explanation A gateway should not know the core business. Therefore, no, you should not insert…