Hi All,
I am working wioth hibernate 3.2.5 and trying to integrate Envers 1.0.0 GA: Problem is that when I register event listeners in my hibernate.cfg.xml within the session-factory tag, it gives me this exception. If i remove the event-listeners it all goes fine.
Code:
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'session-factory' defined in class path resource [spring-config.xml]: Invocation of init method failed; nested exception is org.hibernate.MappingException: java.lang.NoSuchMethodException: org.hibernate.cfg.Configuration.getReflectionManager()
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)
i went into the hibernate3.jar and went to the path of class Configuration and There is no such method, But why is it being called then. I am not using annotations in hibernate rather i am using hb,.xml files for my pojos.
I did see this issue:
https://jira.jboss.org/browse/ENVERS-63 ... issue-tabsI dont know if this was solved or not.
I will really appreciate if some one can give me a feedback because this would mean if we should resort ot annotations Or not use Envers or upgrade our hibernate which i dont think would be possible becuase of so many dependencies right now.
thanks