ok!
So I need a listener class like HibernateListener and a Transactionfactory in
the config xml ?
- Ursprüngliche Mail
Von: Pieter Degraeuwe
An: users@wicket.apache.org
Gesendet: Dienstag, den 6. Oktober 2009, 09:49:42 Uhr
Betreff: Re: org.hibernate.HibernateException: createCri
How can I do it manually?
For example: I have a "DataProvider" class with a method:
public static Administrator getAdministrator(Integer id) {
Administrator administrator= (Administrator)
HibernateUtil.getSessionFactory().getCurrentSession().createCriteria(Administrator.class).add(P