Here we go...thx!
Code:
ClassPathResource resource = new ClassPathResource("spring-context.xml");
BeanFactory factory = new XmlBeanFactory(resource);
editor = (MyComponentEditorService)factory.getBean("myComponentEditorService");
// Some code to build to request...and then
editor.createMyComponent(req);
// MyComponentEditorService...
@Transactional(rollbackFor=Exception.class)
public void createMyComponent(CreateReq aReq)
throws MyException
{
editorDao.create(aReq.getData());
}
// Dao...
// This line gives the propblem...
public void create()
throws Exception
{
sessionFactory.getCurrentSession()
}

Originally Posted by
karldmoore
The full stacktrace is useful, as you can clearly see there is no transactional proxy in there. So are you using beanFactory or applicationContext? Is it possible to see the code that you are trying to run? Can you wrap it in [code] [ /code] tags to make it readable.