Top "Spring-orm" questions

Spring Framework Object Relational Mapping (ORM) Data Access

Spring + hibernate versus Spring Data JPA: Are they different?

Although not novice, I am trying to learn spring framework (again!) in order to be sure that I really understand …

spring hibernate jpa spring-data-jpa spring-orm
No transaction in progress exception with Spring 3.1 and JPA 2

I have been at this for weeks. I have tried eclipselink and now just plain JPA. I keep getting the …

spring jpa-2.0 spring-orm
QueryDSL returning max value

I want to return the max value using QueryDSL. With this query I return the interval which eventid is equal …

java hibernate jpa querydsl spring-orm
java.lang.IllegalArgumentException: expecting IdClass mapping

I have configured composite primary key for my entity Employee as follows Employee.java: @Entity @Table(name="employee") @Proxy(lazy=…

java spring-4 sessionfactory hibernate-5.x spring-orm
Spring Hibernate Vs jdbc template vs spring orm

We have a project with MySQL database and Spring as the framework. I am very new to Spring and looking …

hibernate spring-data spring-orm
JPA 2.0 <shared-cache-mode> vs. javax.persistence.sharedCache.mode

Using Spring 3.2.0, Eclipselink 2.5.0-M9 When persistence.xml contains: <shared-cache-mode>ENABLE_SELECTIVE</shared-cache-mode> Then if I examine …

spring jpa eclipselink spring-orm shared-cache
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
org.hibernate.MappingException: Unknown entity: in spring orm

I am getting following exception org.hibernate.MappingException: Unknown entity: com.sample.Student I have seen so many answers to …

java spring hibernate jpa spring-orm
org.hibernate.hql.internal.ast.QuerySyntaxException: Product is not mapped

I'm trying to use QueryDSL with JPA and Gradle. Also I'm using Spring Boot. I'm keep getting an exception. I've …

java hibernate jpa hibernate-mapping spring-orm