Build a generic typesafe DAO with Hibernate and Spring AOP

On IBM developerworks I found an interesting article about how to create a type safe data acess object implementation which is generic too.

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.

Tags: , , ,

One Response to “Build a generic typesafe DAO with Hibernate and Spring AOP”

  1. proxxi Says:

    As I’m not completely sure if this post has an information value for me, let me point it like this: When I “implent” it, will it get my hair grow again?

    Yours,
    |°R0%%1

Leave a Reply