Top "Spring-orm" questions

Spring Framework Object Relational Mapping (ORM) Data Access

Spring Hibernate - Could not obtain transaction-synchronized Session for current thread

I created an application with spring + hibernate, but I always get this error. This is my first application with hibernate, …

spring hibernate spring-mvc spring-orm
Spring DAO vs Spring ORM vs Spring JDBC

I was going through data access technologies supported by Spring, and I noticed that it mentions multiple options and I …

spring spring-data spring-jdbc spring-orm
java.lang.ClassNotFoundException: org.springframework.orm.hibernate4.LocalSessionFactoryBean

I'm new to Spring this is my first example (JSF 2, PrimeFaces 3, Spring & Hibernate Integration) here's the pom.xml : <…

spring maven spring-orm
java.lang.ClassNotFoundException: org.hibernate.engine.SessionFactoryImplementor

i am trying to migrate to hibernate 4.1.0.Final with spring 3.1.1.RELEASE and following is my configuration for hibernate: <property …

spring hibernate jakarta-ee spring-orm
Spring 3.1 Hibernate 4 exception for Inheritance [cannot be cast to org.hibernate.mapping.RootClass]

Hi I have just started using Spring , with Hibernate4 and maven. Basically my class hierarchy is HUmanMicroTask extends from MicroTask . …

java spring hibernate spring-orm
How to Pass Multiple Packages to packagesToScan property in Spring using XML Configuration

Assume i have two packages com.test1 and com.test2 in different modules called M1 (com.test1) and M2 (com.…

spring spring-orm
What is the difference between LocalContainerEntityManagerFactoryBean and LocalEntityManagerFactoryBean?

Can anybody explain what is the difference between the Spring Framework's LocalContainerEntityManagerFactoryBean and LocalEntityManagerFactoryBean?

spring hibernate jpa entitymanager spring-orm
Spring 3.1 entityManagerFactory java.lang.NoSuchFieldError: NULL Error

I have just migrated Spring 3.0.5 to 3.1 GA. I faced runtime error during initialization: org.springframework.beans.factory.BeanCreationException: Error creating …

java spring jpa orm spring-orm
Hibernate @Version annotation

What is the relation between hibernate @version and ManyToOne Mapping. Assume that i am having two tables Department and Employee. …

java hibernate hibernate-mapping spring-orm