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
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.
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
t; >> catch (Exception e)
> >> {
> >> e.printStackTrace();
> >> }
> >> }
> >>
> >>
> >> public Session getHibernateSession()
> >> {
> >> return sessionFactory.openSession();
> >> }
> >>
>
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
e.printStackTrace();
>> }
>> }
>>
>>
>> public Session getHibernateSession()
>> {
>> return sessionFactory.openSession();
>> }
>>
>> ...
>>
>
e.printStackTrace();
> }
> }
>
>
> public Session getHibernateSession()
> {
> return sessionFactory.openSession();
> }
>
> .......
>
> Is th
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
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