The Source for Java Technology Collaboration
User: Password:



Start New Message Delete Post a Reply

Article: 
 An Introduction to Java Persistence for Client-Side Developers
Subject:  Transaction Not Active
Date:  2006-07-29 00:16:03
From:  lbois


Great article...
I worked with Derby on Netbeans
I include the code in a Junit test to run outside the container (from my IDE)
But with Hibernate, i get an exception, when commit()
IllegalStateException : Transaction is not Active

I refined the project with TopLink Essentials (Netbeans / Derby):
I have not the error, like for Hibernate, all seems ok.
But then when i do a SQL query against derby, i do not find any records in my table Person.

Any idea?

 Feed java.net RSS Feeds