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

QueryDSL Predicate SetPath.any with multiple conditions

I have a simple entity with one to many relationship @Entity // and other @ stuff public class Member { @Id private Long …

java spring-data-jpa querydsl
Why am I getting JdbcSQLException (non-hex characters) with my H2 database / Spring boot application?

So the short version, I'm guessing I've some sort of character encoding issue, or the DB is storing/returning the …

java hibernate spring-boot spring-data-jpa h2
@NamedNativeQuery with @SqlResultSetMapping for non-entity

I have been using this post as an example. I have a complex join query (simplified here). It returns a …

java jpa spring-data-jpa named-query sqlresultsetmapping
How to add a list of Predicates to CriteriaBuilder.or

I have a List to append in an or condition The Issue I am facing is when I am iterating …

java jpa spring-data-jpa hibernate-criteria predicate
Shutting down ExecutorService 'applicationTaskExecutor'

I have a Spring-boot application deployed in docker container within in AWS ECS cluster. My application stack is => Spring …

mysql spring-boot spring-data-jpa amazon-rds amazon-ecs
Are you supposed to have one repository per table in JPA?

Are you supposed to have one repository per table in JPA? If not, how do you resolve the generics in …

java jpa spring-data-jpa spring-data
Invalid property 'packagesToScan' of bean class [org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean]

I have tried to find the solution, but still no luck. I am following the book "Pro Spring 3" (Appress) [page 351] …

spring configuration packages spring-data-jpa spring-orm
Dynamic query using JpaRepository

I'm trying to get a result of a query using JpaRepository, but it doesn't work for me : public interface PeticionRepository …

java spring spring-data-jpa jpql spring-repositories
Spring Boot+JPA+QueryDSL=OrderSpecifier not found

I have this pom.xml: <parent> <groupId>org.springframework.boot</groupId> <artifactId>…

java maven spring-boot spring-data-jpa querydsl
Can Spring Data REST's QueryDSL integration be used to perform more complex queries?

I'm currently building a REST API in which I want clients to easily filter on most properties of a specific …

spring spring-data spring-data-jpa spring-data-rest querydsl