The serialization of the sessionFactory is useful only in few cases.In practice... The BuildSessionFactory is the "in-ram compilation" of all mappings and persistence stuff. Serializing the sessionFactory and saving it to your hard-drive is equivalent to create an "EXE" of the persistence stuff.
2009/2/5 Tuna Toksoz <[email protected]> > But in order to have a meaningful benchmark, I will need to have several > hundreds of entities, I guess, which scares me :D > > Tuna Toksöz > http://tunatoksoz.com > http://twitter.com/tehlike > > Typos included to enhance the readers attention! > > > > On Fri, Feb 6, 2009 at 12:23 AM, Tuna Toksoz <[email protected]> wrote: > >> Sure I will, serializign configuration speeds up but not as much as >> serializing SessionFactory. You'll need to wait for it. >> >> >> Tuna Toksöz >> http://tunatoksoz.com >> http://twitter.com/tehlike >> >> Typos included to enhance the readers attention! >> >> >> >> On Fri, Feb 6, 2009 at 12:18 AM, s_tristan <[email protected]> wrote: >> >>> >>> Can you make a speed benchmark with traditional method and >>> serialization? >>> >> >> > -- Fabio Maulo
