virgium03hotmailcom on 10/07/10
Last Edited at 10/07/10 07:36pm
public <T> T add(final T obj) { return get(obj.getClass(), (Long) getHibernateTemplate().save(obj));}public final <T> T get(final Class<T> clazz, final Long id) { return (T) getHibernateTemplate().get(clazz, id);}
Report this snippet Tweet
Comment:
You need to login to post a comment.