org.hibernate.HibernateException: createCriteria is not valid without active transaction

2010-05-08 Thread Richard Slide
Hello all, i try to do a simple web application with the classic layout Wicket-Spring-Hibernate When i try to make a simple request i receive the following error. WicketMessage: Error attaching this container for rendering: [Page class = ch.myexample.ListContacts, id = 0, version = 0] Root

Re: org.hibernate.HibernateException: createCriteria is not valid without active transaction

2010-05-08 Thread Richard Slide
, May 8, 2010 at 12:05 PM, Karolina Rusin iluu.li...@gmail.comwrote: Hello Richard, Maybe you need to use @Transactional above your dao method? Hope this helps. Best regards, Karolina Rusin 2010/5/8 Richard Slide richard.sl...@gmail.com Hello all, i try to do a simple web application

Re: org.hibernate.HibernateException: createCriteria is not valid without active transaction

2010-05-08 Thread Richard Slide
I did it. On Sat, May 8, 2010 at 2:00 PM, James Carman jcar...@carmanconsulting.comwrote: Put it on the impl class. On Sat, May 8, 2010 at 7:43 AM, Richard Slide richard.sl...@gmail.com wrote: Yes i did it... this is DAO and impl public interface DaoT extends DomainObject