Ahti Kitsik
Building tools with Python, Java, Go, JS. For enquiries email inbox@ahtik.com

writings biography

Build a generic typesafe DAO with Hibernate and Spring AOP

29 May 2006 by @ahtik

Don't repeat the DAO!: "With the adoption of Javaâ„¢ 5 generics, the idea of a generic typesafe Data Access Object (DAO) implementation has become feasible. In this article, system architect Per Mellqvist presents a generic DAO implementation class based on Hibernate. He then shows you how to use Spring AOP introductions to add a typesafe interface to the class for query execution."

@ahtik is on twitter!