public class SignatureDAOImpl extends HibernateDaoSupport implements
SignatureDAO {
@Override
public Signature createSignature(String hash, String key, int person) {
Signature signature = new Signature(hash, key, person);
return (Signature) getHibernateTemplate().save(signature);
}