Results 1 to 3 of 3

Thread: Good example of JPA generic DAO without using JPATemplate?

  1. #1

    Default Good example of JPA generic DAO without using JPATemplate?

    I've read this article:

    http://www.ibm.com/developerworks/ja...enericdao.html

    many times and believe I understand what it is saying. However, it is 4 years old and I have a JPA compliant Java application to contend with now. In addition, I see that there is a JPATemplate in Spring that has some good functionality, but the Spring documentation says it is already deprecated!

    Can anybody point me to an example of a solid, modern, JPA compliant, Spring based, working example of a "GenericDAOImpl" that proxies an Interface to provide generic finder execution -- like the one in the IBM article does?

  2. #2

  3. #3
    Join Date
    Oct 2011
    Posts
    6

    Default

    Quote Originally Posted by hdave View Post
    I've read this article:

    http://www.ibm.com/developerworks/ja...enericdao.html

    Can anybody point me to an example of a solid, modern, JPA compliant, Spring based, working example of a "GenericDAOImpl" that proxies an Interface to provide generic finder execution -- like the one in the IBM article does?
    This is http://perfectjpattern.sourceforge.n...enericdao.html a modernized implementation of that article. Make sure to checkout trunk (snapshot release version) for up to date versions of Spring and Hibernate.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •