I am setting up Hibernate Annotation (User JPA for mapping) with Spring. (i.e. AnnotationSessionFactoryBean)
I have a few questions
- Do I need a hibernate.cfg.xml for mapping?
- From the example http://www.zabada.com/tutorials/hibernate-and-jpa-with-spring-example.php, it seems you need to do AOP, do you really need that? I saw a lot of example doesn't have that?
Is there any good tutorial around the web?
Best way to manually pull a spring bean?
Refreshing/replacing beans in the ApplicationContext. Possible or am I missing the point?
- The annotations drive the mapping so you don't need the mapping file as well.
- I use Spring & Hibernate without AOP so i don't think it's required.
Can't send email using Spring and Quartz
It's using Spring 3 but i don't think that affects the JPA stuff..
log4j:WARN No appenders could be found for logger in web.xml
Intercepting requests before they go to the controller in an annotation-based Spring web-app