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? |