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

org.hibernate.AnnotationException: No identifier specified for entity - even when it was

I have the following configuration: <bean id="entityManagerFactory" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean"> <property name="dataSource" …

spring hibernate spring-data spring-data-jpa
JPA: update only specific fields

Is there a way for updating only some fields of an entity object using the method save from Spring Data …

java spring jpa spring-data-jpa
Delete Not Working with JpaRepository

I have a spring 4 app where I'm trying to delete an instance of an entity from my database. I have …

java hibernate jpa spring-data spring-data-jpa
com.fasterxml.jackson.databind.exc.MismatchedInputException: Can not deserialize instance of object out of START_ARRAY token

Getting the MismatchedInputException. Searched a lot of questions here but found JSONMappingException mostly. I don't understand if they are same …

java spring-data-jpa jackson-databind
What's the difference between JPA and Spring Data JPA?

I am a bit confused about the difference between Spring Data-JPA and JPA. I know about JPA that it is …

java hibernate jpa orm spring-data-jpa
Spring boot fails to load DataSource using PostgreSQL driver

I have successfully developed a prototype using Spring Boot 1.0.2.RELEASE (was 1.0.1.RELEASE until today). I have searched and searched and …

postgresql spring-data-jpa spring-jdbc spring-boot
How to manage database connection pool in spring jpa?

I am using spring-boot in my web application and use spring-jpa to read/write from/to my database. It works …

java spring hibernate spring-data-jpa spring-jdbc
Spring Data Rest - Sort by multiple properties

I have an entity as below Class Person{ String id; String name; String numberOfHands; } With Spring Data Rest (Gosling Release …

spring spring-data spring-data-jpa spring-data-rest
Filtering database rows with spring-data-jpa and spring-mvc

I have a spring-mvc project that is using spring-data-jpa for data access. I have a domain object called Travel which …

java spring spring-mvc spring-data spring-data-jpa
Query by Boolean properties in spring-data-jpa without using method parameters

Is it possible to query by Boolean properties in Spring Data JPA without using method parameters? Basically I would like …

java spring-data spring-data-jpa