ConcretePage.com
HOME
ALL TUTORIALS
JAVA 8
SPRING BOOT
ANGULAR
ANDROID
Q&A
|
Sign In
Ask Question
org.hibernate.TransactionException: Transaction not successfully start
Hibernate
Raj
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)
Raj
Replied on May 11, 2013
I am looking for any clue, please help me.
Saurabh
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
Login | Sign Up
Related Post
Unlabeled ordinal parameter ('?' rather than ?1)
Hibernate Error: "embeddableClass" is null
Jakarta persistence.xml Example
Caused by: jakarta.persistence.PersistenceException: No Persistence provider for EntityManager
FetchType.EAGER and FetchType.LAZY in Hibernate Annotation
How to fetch data in parent and child relation format in hibernate.
How to Fetch data from table with primary key of table getting saved in some other field of same table
Fetching data from 2 tables based on the id criteria (primary id of one table is saved in other tables column)
java.sql.SQLSyntaxErrorException: Table 'mydb.hibernate_sequence' doesn't exist
Difference between hibernate flush and clear
Caused by: org.hibernate.AnnotationException: Unable to find @AnyMetaDef for an @(ManyTo)Any mapping
Callback methods annotated in a listener bean class must return void
org.hibernate.PersistentObjectException: detached entity passed to persist
log4j:WARN No appenders could be found for logger(org.hibernate.cfg.Environment
exception : " could not parse configuration:/ hibernate.cfg.XML"
Hibernate Exception:Illegal use of @FilterJoinTable on an association
java.sql.SQLException: Lock wait timeout exceeded; try restarting transaction
javax.persistence.PersistenceException: No Persistence provider for Entity
How to build SessionFactory in Hibernate 4
HibernateException: Access to DialectResolutionInfo cannot be null
java.sql.SQLException: No suitable driver found for jdbc:mysql
java.lang.ClassNotFoundException: org.hibernate.util.DTDEntityResolver
java.lang.ClassNotFoundException: org.hibernate.MappingException
Stored Procedure
How to create factory and transaction manager at run time?
Use of criteria in hibernate
named queries
How can I use Two DataBase in Hibernate
Example of @Formula in Hibernate Annotation
one-to-many collections with identifiers are not supported
Latest Forum Post
Angular Router Extra Options
(Angular)
Router.navigate vs Router.navigateByUrl
(Angular)
Router.navigate vs window.location.href
(Angular)
How to uninstall App in Mac
(MS Windows)
Angular Standalone: NullInjectorError: No provider for _HttpClient
(Angular)
About Us
We are a group of software developers.
We enjoy learning and sharing technologies.
To improve the site's content,
your valuable suggestions
are most welcome.
Thanks
Email :
concretepage@gmail.com
Mobile Apps
SCJP Quiz
ConcretePage.com
Utility
Age Calculator