Re: [appfuse-user] Reg: Hibernate config file

2007-03-01 Thread Matt Raible
The bean definition for the datasource is in web/WEB-INF/applicationContext-resources.xml. Matt On 3/2/07, Devpradhangr <[EMAIL PROTECTED]> wrote: Hi, There is no property name tag which includes the driver name for mysql, but it contains only session factory tag which specifies the .hbm

Re: [appfuse-user] Reg: Hibernate config file

2007-03-01 Thread Devpradhangr
Hi, There is no property name tag which includes the driver name for mysql, but it contains only session factory tag which specifies the .hbm files with the path. I want to know about the file for hibernate configuration with the database. applicationContext-hibernate.xml contains t

Re: [appfuse-user] Reg: Hibernate config file

2007-03-01 Thread Matt Raible
The SessionFactory is configured in a Spring bean and this has a list of all the mapping files in it. See src/dao/yourpackage/dao/hibernate/applicationContext-hibernate.xml to view the sessionFactory bean definition. Matt On 3/2/07, Devpradhangr <[EMAIL PROTECTED]> wrote: Hi all, I have

[appfuse-user] Reg: Hibernate config file

2007-03-01 Thread Devpradhangr
Hi all, I have created one sample application in appfuse 1.9.3 with hibernate. In that application I had looked for the hibernate.cfg.xml file, which includes the hibernate-configuration and session factory tag. But this file is missing in my application and without that file, the applica