What is needed is the SessionFactory serialization.The Conf should have a method to upLoad a serialized sessionFactory and you can use this method instead call BuildSessionFactory.
2009/2/5 Tuna Toksoz <[email protected]> > So it comes back to "serializing Configuration" idea? as in ram operations > are way cheaper than xml validation. > > Tuna Toksöz > http://tunatoksoz.com > http://twitter.com/tehlike > > Typos included to enhance the readers attention! > > > > On Fri, Feb 6, 2009 at 12:31 AM, Fabio Maulo <[email protected]> wrote: > >> 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. >> > > -- Fabio Maulo
