org.hibernate.TransactionException: Transaction not successfully start




Asked on May 11, 2013
Hi All,
I am trying to save data through hibernate but got below error.

org.hibernate.TransactionException: Transaction not successfully started
    at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:131)




Replied on May 11, 2013
I am looking for any clue, please help me.



Replied on May 11, 2013
Error clearly saying that transaction has not been started.
You can do like
 session.beginTransaction();

before calling commit.


Write Answer










©2024 concretepage.com | Privacy Policy | Contact Us