@ManagedBean and @Transactional - bug in Spring? Workarounds?
问题 I had the following JSF backing bean in my Webapp @ManagedBean class MyBackingBean implements Serializable { private MyHibernateRepository repository; ... @Transactional public void save() { .... repository.save(myObject); } } When it gets to the repository.save method call - I get the following error no transaction is in progress I've got two questions Is this because of a bug like this? I believe there are two workarounds - are there any others? 2.1 First workaround - using