Skip to content

Instantly share code, notes, and snippets.

@eugenp
Created January 31, 2012 11:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eugenp/1710057 to your computer and use it in GitHub Desktop.
Save eugenp/1710057 to your computer and use it in GitHub Desktop.
The persistence layer with Spring 3.1 and JPA - an example DAO
@Repository
public class FooDAO extends AbstractJPADAO< Foo > implements IFooDAO{
public FooDAO(){
setClazz(Foo.class );
}
}
@eugenp
Copy link
Author

eugenp commented Jan 31, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment