Add Hibernate 3.3.2 as a dependency in your Maven POM

Recently I had to update a Maven POM to get the latest release of Hibernate (3.3.2) and if you are in this boat as well, here is what you have to do: 1) Ensure that you add the JBoss repository to your <code>repositories</code> section as the latest releases are not in the standard maven repository. … Continue reading Add Hibernate 3.3.2 as a dependency in your Maven POM

AbstractTransactionalJUnit4SpringContextTests Failing to Rollback in MySQL?

Ok so today I was working on some JUnit tests within Spring using AbstractTransactionalJUnit4SpringContextTests (yes, wow what a long class name). For those of you unfamiliar with this class, basically if you extend your unit test class from this class, every @Test annotated test method will run within a transaction, with the default behavior being … Continue reading AbstractTransactionalJUnit4SpringContextTests Failing to Rollback in MySQL?

Review: Java Persistence with Hibernate

This is a review of "Java Persistence with Hibernate" by Christian Bauer and Gavin King This is the second Manning book on Hibernate to find a place on my bookshelf. The first one being the older 1st edition of "Hibernate in Action", however this book is a revised edition of the 1st edition and takes … Continue reading Review: Java Persistence with Hibernate