Re: Hibernate with wicket

2008-04-10 Thread Uwe Schäfer
Nino Saturnino Martinez Vazquez Wael schrieb: interesting... Could be a possible thing for wicket persistence.. think so. however, have done something quite similar myself and dropped it for warp-persist. it is quite minimalistic though and not really feature complete (from my p.o.v.) but it

Re: Hibernate with wicket

2008-04-10 Thread Nino Saturnino Martinez Vazquez Wael
interesting... Could be a possible thing for wicket persistence.. Uwe Schäfer wrote: tbt schrieb: I'm using a static block to save resources so that hibernate does not have to initialize a session each time a transaction needs to be done. maybe warp-persist is something you like to look at.

Re: Hibernate with wicket

2008-04-10 Thread cwilkes
tbt wrote: > > Can anyone tell me the list of jar files that are needed to run > databinder. I am having trouble running the baseball example. > Have you tried running "mvn package"? -- View this message in context: http://www.nabble.com/Hibernate-with-wicket-tp16607

Re: Hibernate with wicket

2008-04-10 Thread Thomas Kappler
t; >> catch (Exception e) > >> { > >> e.printStackTrace(); > >> } > >> } > >> > >> > >> public Session getHibernateSession() > >> { > >> return sessionFactory.openSession(); > >> } > >> >

Re: Hibernate with wicket

2008-04-10 Thread Uwe Schäfer
tbt schrieb: I'm using a static block to save resources so that hibernate does not have to initialize a session each time a transaction needs to be done. maybe warp-persist is something you like to look at. http://www.wideplay.com/guicewebextensions2 -- THOMAS DAILY GmbH Adlerstraße 19 79098

Re: Hibernate with wicket

2008-04-10 Thread tbt
e.printStackTrace(); >> } >> } >> >> >> public Session getHibernateSession() >> { >> return sessionFactory.openSession(); >> } >> >> ... >> >

Re: Hibernate with wicket

2008-04-10 Thread adrienleroy
e.printStackTrace(); > } > } > > > public Session getHibernateSession() > { > return sessionFactory.openSession(); > } > > ....... > > Is th

Re: Hibernate with wicket

2008-04-10 Thread James Carman
ctory.openSession(); > } > > ....... > > Is this method a correct way to integrate hibernate with wicket and also > saving resources at the same time. (If I create an instance of a > SessionFacto

Hibernate with wicket

2008-04-10 Thread tbt
ory.openSession(); } ... Is this method a correct way to integrate hibernate with wicket and also saving resources at the same time. (If I create an instance of a SessionFactory, the application runs very slowly) Thanks tbt -- View this message in