Implementing Hibernate DAOs

Christian Bauer at the Hibernate team blog has written an improved version of the DAOs of the Caveat Emptor application of the Hibernate in Action book. This new versions will probably be included in the second edition of the book. The new DAOs are implemented in Java 5 using generics and other Java 5 features. […]

Query by Example and refactoring

I am working on an project to expand an existing application with a large set of new features. Some of these features require domain model changes. As these changes happen we are also refactoring the existing model to better match the new business requirements. In this application we use Hibernate for the object persistence. As […]