Skip to content

Instantly share code, notes, and snippets.

@eugenp
Created January 31, 2012 11:43
Show Gist options
  • Select an option

  • Save eugenp/1710057 to your computer and use it in GitHub Desktop.

Select an option

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

eugenp commented Jan 31, 2012

Copy link
Copy Markdown
Author

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