Skip to content

Instantly share code, notes, and snippets.

@eugenp eugenp/
Created Oct 8, 2011

What would you like to do?
Testing the Service Layer - the DAO layer
public class FooDAO extends HibernateDaoSupport implements IFooDAO{
public Long create( final Foo entity ){
Preconditions.checkNotNull( entity );
return (Long) this.getHibernateTemplate().save( entity );

This comment has been minimized.

Copy link
Owner Author

commented Feb 14, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.