Interacting with data via Spring Boot

Last Updated on: (senast uppdaterad på:)

These are links to resources that describe how to access data via queries in a Spring Boot application. The Spring repository to work with will extend the Crud repository and will include methods that have annotations such as @Query and @Modifying. The queries can use JPQL or be native SQL.

Baeldung’s Tutorial on Spring JPA Data @Query:
https://www.baeldung.com/spring-data-jpa-query

App developer’s blog on the @Query annotation
http://www.appsdeveloperblog.com/spring-data-jpa-native-sql-query/

StackOverflow’s Inserting into Spring data
How to insert into db in spring-data?

Lämna ett svar