Top "Spring-data-jpa" questions

Spring Data - JPA is part of the Spring Data umbrella project which makes it easy to implement JPA based repositories

Difference between save and saveAndFlush in Spring data jpa

I am trying to learn spring data JPA by testing some CRUD operation via JpaRepository. I came across two methods …

java spring hibernate jpa spring-data-jpa
crudrepository findBy method signature with multiple in operators?

I have an Entity Class like this: @Entity @Table(name = "EMAIL") class Email{ @Id @Column(name = "Id") Long id; @Column(…

java spring spring-data spring-data-jpa
Spring data jpa- No bean named 'entityManagerFactory' is defined; Injection of autowired dependencies failed

I'm developing application using spring data jpa,hibernate,mysql,tomcat7,maven and it's create error.I'm trying to figure it …

java spring-mvc jpa spring-data spring-data-jpa
Spring Data JPA findOne() change to Optional how to use this?

I'm learning SpringBoot2.0 with Java8. And I followed some blog-making tutorial example. The tutorial source code is: @GetMapping("/{id}/edit") …

java spring spring-data-jpa
Spring data JPA query with parameter properties

What is the simplest way of declaring a Spring data JPA query that uses properties of an input parameter as …

spring jpa spring-data spring-data-jpa
Failed to auto-configure a DataSource: 'spring.datasource.url' is not specified

I have created a basic spring boot application from SPRING INITIALIZR with the Web, MongoDB and JPA dependencies. When I …

java spring mongodb spring-boot spring-data-jpa
No converter found capable of converting from type to type

I am getting the following stacktrace: org.springframework.core.convert.ConverterNotFoundException: No converter found capable of converting from type [referencedata.…

spring jpa spring-data-jpa converter
Spring Data JPA find by embedded object property

I want to write a Spring Data JPA repository interface method signature that will let me find entities with a …

java spring jpa spring-data spring-data-jpa
How does the FetchMode work in Spring Data JPA

I do have a relation between three model object in my project (model and repository snippets in the end of …

java spring hibernate jpa spring-data-jpa
spring data jpa @query and pageable

I'm using Spring Data JPA, and when I use @Query to to define a query WITHOUT Pageable, it works: public …

java spring hibernate jpa spring-data-jpa