Have you read the DAO tutorial? You should be able to create another DAO and
have access to HibernateTemplate.
http://appfuse.org/display/APF/Using+Hibernate
Matt
On Mon, May 4, 2009 at 8:06 PM, Kenny Ha wrote:
>
> Can you give me an example??
> Thanks much!
>
>
> mraible wrote:
> >
> > You sh
Can you give me an example??
Thanks much!
mraible wrote:
>
> You should not use your own HibernateUtil class. You should use the
> "sessionFactory" bean that's already configured and use it (or a
> HibernateTemplate) to get your session.
>
> Matt
>
> On Sun, May 3, 2009 at 7:58 PM, Kenny Ha
You should not use your own HibernateUtil class. You should use the
"sessionFactory" bean that's already configured and use it (or a
HibernateTemplate) to get your session.
Matt
On Sun, May 3, 2009 at 7:58 PM, Kenny Ha wrote:
>
> Hi all,
>
> I posted this problem on AppFuse-Dev, but I haven't f