Are you using a full source version of Appfuse? In order to change role and/or user column names you will need to work with the full source and make changes in a number of places.
Mike 2009/7/5 nevermind_and <andrzej.kosa...@gmail.com> > Hi, i have some problem with my role table. I've decided to rename some > columns (e.g. role[ 'id' to 'Role_id' ]) of course then i change also > accesors like : private Long roleId; ... @Id @Column(name="Role_id", > nullable=false)@GeneratedValue(strategy=GenerationType.AUTO) public Long > getRoleId() { return roleId; } public void setRoleId(Long id) { this.roleId > = id; } and the same problem after changing column 'Name' (I've changed > named Querry in Role class ) Caused by: org.hibernate.HibernateException: > Errors in named queries: findRoleByName at > org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:365) at > org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1300) > at > org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:915) > at > org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:814) > at > org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:732) > at > org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1367) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1333) > ... 88 more But can't make it to run. I'm getting SQLGrammarException that > my table doesn't have column 'role0_.id' i don't know why it is still > related to already changed old name ? I will be appreciate for any help > ------------------------------ > View this message in context: > ListenerStartup<http://www.nabble.com/ListenerStartup-tp24342719s2369p24342719.html> > Sent from the AppFuse - User mailing list > archive<http://www.nabble.com/AppFuse---User-f2370.html>at Nabble.com. >