1. Programatically Add a AnnotationSessionFactoryBean stackoverflow.comI have a class that implements BeanDefinitionRegistryPostProcessor. I am trying to add an AnnotationSessionFactoryBean to my Spring Context in either postProcessBeanFactory or postProcessBeanDefinitionRegistry. I need to do this programatically so ... |
2. AnnotationSessionFactoryBean and ComboPooledDataSource configuration problem forum.springsource.orgAnnotationSessionFactoryBean and ComboPooledDataSource configuration problem I'm trying to configure Hibernate to reach a MySQL database through C3P0 connection pooling. I'm migrating a bunch of working applications from tomcat5.5 to tomcat6. First ... |
3. Configuration of multimodule project with AnnotationSessionFactoryBean forum.springsource.orgI have a multimodule Maven project whit Spring and Hibernate, my Hibernate configuration is like: Code: |
4. AnnotationSessionFactoryBean problem forum.springsource.orgAnnotationSessionFactoryBean problem I am using hibernate annotations. Below is the applicationContext.xml file where I define AnnotationSessionFactoryBean and add annotated classes, datasource etc. In my java class, I am getting SessionFactory instance ... |
5. Hibernating annotations with: AnnotationSessionFactoryBean forum.springsource.orgHibernating annotations with: AnnotationSessionFactoryBean I'm using: * Tomcat 5.5.9 * spring-framework-1.2.2-build.279-20050610 spring-hibernate-setup.xml (applicationContext): Code: |
6. How to set NamingStrategy for AnnotationSessionFactoryBean forum.springsource.orgHow to set NamingStrategy for AnnotationSessionFactoryBean I want to set the ImprovedNamingStrategy for tablenames. But running my Application I get following error because the columname shortname is false - it should ... |
7. AnnotationSessionFactoryBean: package declaration isn't working forum.springsource.orgYou have to declare all the annotated classes explicitly. The package declaration does not mean to include all annoted classes but contains annotations for the package (defined in a file named ... |
8. getting AnnotationSessionFactoryBean forum.springsource.orggetting AnnotationSessionFactoryBean Greetings! Can somebody, please, help me with this (I'm quite a newbie here): I'm creating a context like this: ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("test/spring-config.xml"); I'm trying to obtain a ... |
9. using AnnotationSessionFactoryBean forum.springsource.orgusing AnnotationSessionFactoryBean Hey, I am converting from hibernate mapping files to annotations. WIth mapping files the code worked fine. With annotated files the session factory class in the spring-hibernate.xml file was ... |
10. AnnotationSessionFactoryBean and annotatedPackages prop forum.springsource.orgAnnotationSessionFactoryBean and annotatedPackages prop Hi, using Spring2.0 and Hibernate3.2.1.GA, whenever I set the annotatedPackages prop on a AnnotationSessionFactoryBean, it does'nt see my annotated @Entity classes. However, this works : |
11. Easier way to define annotated class in AnnotationSessionFactoryBean forum.springsource.orgCurrently I defined the annotated entity classes X1, X2, X3 like the following, Code: |
12. AnnotationSessionFactoryBean help forum.springsource.org |
13. AnnotationSessionFactoryBean & LocalContainerEntityManagerFactoryBean co-existence forum.springsource.orgJul 4th, 2008, 03:59 AM #1 Jean View Profile View Forum Posts Private Message Member Join Date Mar 2005 Location Tokyo, Japan Posts 92 AnnotationSessionFactoryBean & LocalContainerEntityManagerFactoryBean co-existence As we are ... |
14. Can't Retrieve AnnotationSessionFactoryBean forum.springsource.orgCan't Retrieve AnnotationSessionFactoryBean I am using Spring 2.5.4 and Hibernate Annotations 3.4. I have the following defined in my "beans.xml": Code: |
15. Partial and dynamic configuration of AnnotationSessionFactoryBean forum.springsource.orgPartial and dynamic configuration of AnnotationSessionFactoryBean My AnnotationSessionFactoryBean is partially configured. I don't specify datasource because I want to use this bean as prototype for creation of session factories for different ... |
16. AnnotationSessionFactoryBean needs MetadataProvider ? forum.springsource.orgMay 21st, 2010, 07:51 AM #1 per View Profile View Forum Posts Private Message Junior Member Join Date May 2010 Posts 3 AnnotationSessionFactoryBean needs MetadataProvider ? Not sure which subform I ... |
17. annotatedClasses/annotatedPackages in AnnotationSessionFactoryBean forum.springsource.organnotatedClasses/annotatedPackages in AnnotationSessionFactoryBean Hello, I am using a AnnotationSessionFactoryBean set up as per the below configuration: Code: |
18. AnnotationSessionFactoryBean and annotatedPackages forum.springsource.orgHello, I have a little question about this session factory bean. I read that I should set the annotated class list, however I found also this property: annotatedPackages but i can ... |
19. AnnotationSessionFactoryBean to work with annotations and xml files forum.springsource.orgAnnotationSessionFactoryBean to work with annotations and xml files Hi guys I want to migrate from xml mapping files to annotations in Spring based project. Spring 2.5.6, hibernate 3.2.7.ga. But i can't ... |