After upgrading OS to v10.3.1 the le plugin from the os-extensions repository no longer works. We get the exception:
org.hibernate.HibernateException: Could not obtain transaction-synchronized Session for current thread
The method raising the error has the @PlusTransactional
annotation, but googling suggests that this should be @Transactional
. However, when I convert it to that, imported from org.springframework.transaction.annotation
, I still get the same error.
I’m not a Java developer, so can someone please guide me as to what I might be doing wrong.
Thanks.