Top "Spring-data" questions

Spring Data is an umbrella open source project which contains many subprojects that are specific to a given database.

Spring Data JPA map the native query result to Non-Entity POJO

I have a Spring Data repository method with a native query @Query(value = "SELECT g.*, gm.* FROM group g LEFT …

spring hibernate jpa spring-data pojo
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 and Exists query

I'm using Spring Data JPA (with Hibernate as my JPA provider) and want to define an exists method with a …

java hibernate jpa spring-data jpql
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
How to manually force a commit in a @Transactional method?

I'm using Spring / Spring-data-JPA and find myself needing to manually force a commit in a unit test. My use case …

java spring jpa spring-data spring-transactions
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
What is this spring.jpa.open-in-view=true property in Spring Boot?

I saw spring.jpa.open-in-view=true property in Spring Boot documentation for JPA configuration. Is the true default value for …

java spring jpa spring-boot spring-data
Spring Data and Native Query with pagination

In a web project, using latest spring-data (1.10.2) with a MySQL 5.6 database, I'm trying to use a native query with pagination …

spring spring-data spring-data-jpa
Spring Boot, Spring Data JPA with multiple DataSources

I'm trying to connect each @Repositories to different DataSource(s) with Spring Boot and Spring Data JPA. I used the …

java spring jpa spring-data spring-boot