Вы можете сделать это, но если вы используете Hibernate 3.0.1, вы можете избежать шаблона hibernate. Ниже приведен шаблон Hibernate Api здесь
NOTE: As of Hibernate 3.0.1, transactional Hibernate access code can also be coded in
plain Hibernate style. Hence, for newly started projects, consider adopting the standard
Hibernate3 style of coding data access objects instead, based on
SessionFactory.getCurrentSession().
Такжесогласно поддержке jboss, указанной здесь
If you plan to use the Spring Hibernate template, then don't.
The Spring template were useful with Hibernate 2.x because of some mistakes we made
the main one beeing checked exceptions. This is no longer the case for Hibernate 3.x.
If you remove this exception wrapping necessity, Spring template are lust an overhead
on top of the Hibernate API (hiding you the richness of the Hibernate API is some
cases).
Одним из основных изменений в Hibernate 3 стал переход от проверенных исключений к непроверенным.Прочитайте статью здесь , чтобы узнать больше об этом и еще один здесь .