Gradle-buildable version of "Don't repeat the DAO!" article sample code.
http://www.ibm.com/developerworks/java/library/j-genericdao/

just type "gradle build" makes the code and execute test with Java/gradle installed environment.