Regular |
|
Joined: Fri Oct 01, 2004 2:19 am Posts: 111 Location: Melbourne, Australia
|
I am using Hibernate 3.0.3 and the startup time is slow (well, too slow
for repetitive junit tests). I am pointing to the right DTD so that's not
the issue - for me it seems that buildSessionFactory takes forever
(building it for 34 mapped classes takes 2 seconds for creating the
configuration and the sessionFactory takes 12 seconds!?).
Is there a way to speed this up? Can the session factory data structures
be serialized or something so that for running a series of tests repeatedly,
this will not become prohibitively long?
_________________ Cheers,
Bonny
please don't forget to rate :)
|
|