AnnotationSessionFactoryBean « JPA « Spring Q&A





1. Problem with AnnotationSessionFactoryBean    stackoverflow.com

I use the following configuration for initiating my SessionFactory:

    <?xml version="1.0" encoding="UTF-8"?>

<beans xmlns="http://www.springframework.org/schema/beans"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:p="http://www.springframework.org/schema/p"
    xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">

   ...

2. AnnotationSessionFactoryBean requires lucene classes. wtf?    stackoverflow.com

I am trying to add transaction support to an existing webapp via spring transactions. i recently changed my session factory class from LocalSessionFactoryBean to AnnotationSessionFactoryBean. now i get the following error when the ...

3. AnnotationSessionFactoryBean and Hibernate 3.1 RC3    forum.springsource.org

AnnotationSessionFactoryBean and Hibernate 3.1 RC3 Using: Spring 1.26 Hibernate 3.1 RC2 -> RC3 Hibernate Annotations 3.1 beta 6 Hey, i'm not sure if it's a problem of Spring's AnnotationSessionFactoryBean class with ...

4. Hibernate EventListener seems not to work with AnnotationSessionFactoryBean    forum.springsource.org

Hibernate EventListener seems not to work with AnnotationSessionFactoryBean I have made an Persistent layer with Hibernate 3.2 and Spring 2.5 it's basically consist on a Generic DAO and declarative Transaction Management ...

5. Hibernate AnnotationSessionFactoryBean - annotatedPackages vs annotatedClasses    forum.springsource.org

why does annotatedPackages require hibernateProperties and dataSource properties to be set but annotatedClasses does not? i also do not understand why my configuration for annotatedClasses works, but annotatedPackages does not. my ...

6. Hibernate AnnotationSessionFactoryBean problem    forum.springsource.org

Hibernate AnnotationSessionFactoryBean problem Hi, I'm trying to put simple role-based-access service together, but I am having trouble with logging. As I want to use annotations in my classes instead of hibernate ...

7. JPA EntityListeners in Hibernate AnnotationSessionFactoryBean?    forum.springsource.org

JPA EntityListeners in Hibernate AnnotationSessionFactoryBean? We currently implement our persistence via Spring and Hibernate using the AnnotationSessionFactoryBean to configure our SessionFactories. I have used the eventListeners property to set up some ...