Re: Hibernate example broken with 5.0.15

2008-10-06 Thread János Jarecsni
Hi thanks for the info, with @CommitAfter it works :) I just included the close() to see if something happens :) That way I got an exception at least :) thanks again! Cheers, Janos 2008/10/6 Davor Hrg <[EMAIL PROTECTED]> > you should post the errors you get, > and, also methods that save data s

Re: Hibernate example broken with 5.0.15

2008-10-06 Thread Davor Hrg
you should post the errors you get, and, also methods that save data should have @CommitAfter annotation now. ...and you need not close the session it will get closed automatically, and that is actualy the reason the exception occurs Davor Hrg On Mon, Oct 6, 2008 at 11:23 AM, János Jarecsni

Re: Hibernate example broken with 5.0.15

2008-10-06 Thread János Jarecsni
Hi again, I made some investigations into the matter. Here's my modified onAction method from the page class HbAction: public void onAction() { Hello h = new Hello(); h.setMessage("Hello World"); _session.save(h); List list = _session.createCriteria(Hello.class

Hibernate example broken with 5.0.15

2008-10-06 Thread János Jarecsni
Hi All, I tested the simple Hibernate example ( http://wiki.apache.org/tapestry/Tapestry5HowToUseTapestryHibernate) quite a while ago with T5.0.11. Now I restarted studying Tapestry, tried the application now with 5.0.15. It seems that the application can read from the table, but cannot insert int