<namespace name="spring">
<properties> <property name="dataSource">${dataSource}</property> <property name="username">${dataSource.user}</property> <property name="password">${dataSource.password}</property> <property name="driver">${dataSource.driver.class}</property> <property name="connectionUrl">${dataSource.url}</property> <property name="hibernateDialect">${hibernate.db.dialect}</property> <property name="hibernateShowSql">${hibernate.db.showSql}</property> <property name="hibernateUseQueryCache">false</property> <property name="hibernateQueryUseNamedParameters">true</property> #if ($hibernateVersion == "2") <property name="sessionFactory">org.springframework.orm.hibernate.LocalSessionFactoryBean</property> <property name="localTransactionManager">org.springframework.orm.hibernate.HibernateTransactionManager</property> <property name="hibernateCacheProvider">net.sf.hibernate.cache.EhCacheProvider</property> <property name="hibernateQueryCacheFactory">net.sf.hibernate.cache.StandardQueryCacheFactory</property> #else <property name="sessionFactory">org.springframework.orm.hibernate3.LocalSessionFactoryBean</property> <property name="localTransactionManager">org.springframework.orm.hibernate3.HibernateTransactionManager</property> <property name="hibernateCacheProvider">org.hibernate.cache.EhCacheProvider</property> <property name="hibernateQueryCacheFactory">org.hibernate.cache.StandardQueryCacheFactory</property> #end <property name="hibernateInheritanceStrategy">${hibernate.inheritance.strategy}</property> <property name="springTypesPackage">${application.package}</property> <property name="daos">${maven.andromda.core.generated.dir}</property> <property name="dao-impls">${maven.andromda.core.manual.dir}</property> <property name="spring-configuration">${maven.andromda.core.generated.dir}</property> <property name="services">${maven.andromda.core.generated.dir}</property> <property name="service-impls">${maven.andromda.core.manual.dir}</property> #if ($ear) <!-- to remove any dependency on EJB, comment the following property --> <property name="session-ejbs">${maven.andromda.core.generated.dir}</property> <!-- uncomment to enable EJB security <property name="securityRealm">${application.id}</property> --> #end </properties> </namespace> If you take a look at the above, you'll see the template for generating the andromda.xml specifies the correct information when you generate based on the hibernate version, you must have an old andromdapp plugin. The latest one has the correct setup: http://team.andromda.org/maven/andromda/plugins/maven-andromdapp-plugin-3.1-RC1-SNAPSHOT.jar -- Chad Brandon - [EMAIL PROTECTED] http://www.andromda.org _________________________________________________________ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=2327#2327 Posting to http://forum.andromda.org/ is preferred over posting to the mailing list! ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Andromda-user mailing list Andromda-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/andromda-user