Hi,
I am new to hibernate.
I have a JEE application that does inserts and reads in the oracle and cache databases. The enviornment uses weblogic, spring and hibernate. We use hbm mapping files. Everything worked fine in Spring v4.2.7 and hibernate 4.3.10final and Weblogic 12.1.2 and java 8.
But after upgrading to spring v4.3.7 and hibernate 5.2.9 final and weblogic 12.2.1.2, the inserts fail with 'no transaction in progress' exception in hibernate. Somehow the Weblogic JTA transaction is not propogated by Spring to Hibernate - it is broken in spring v4.3.7.
I tried few settings in hibernateproperties of org.springframework.orm.hibernate5.LocalSessionFactoryBean but did not help.
Exception: javax.persistence.TransactionRequiredException: no transaction is in progress
org.hibernate.internal.SessionImpl.checkTransactionNeeded(SessionImpl.java:3450), org.hibernate.internal.SessionImpl.doFlush(SessionImpl.java:1418),
I posted the details of the environment and exception details in the below URL. Please excue my tardiness as I did not want to take too much of your time thus did not want to duplicate the issue - instead pasted the URL below.
I really appreciated your help!!!! Thanks a lot in advance!!!!
https://stackoverflow.com/questions/455 ... g-4-3-7-an