Probably we should re-initialize the service registries and builders held
within Configuration after the SF is built during
Configuration#buildSessionFactory.
Although, arguably what you are trying falls under the concept of sharing
service registries, and from that perspective is better handled t
Hi,
On Mon, Mar 16, 2015 at 09:21:33PM +, Sanne Grinovero wrote:
> > given that the SessionFactory gets closed after each test, I think it would
> > only be fair to also rebuild the Configuration on each test set-up.
> > What is the reason for keeping it around anyways? Do the tests run
> > co
On 16 March 2015 at 20:57, Hardy Ferentschik wrote:
> Hi,
>
> given that the SessionFactory gets closed after each test, I think it would
> only be fair to also rebuild the Configuration on each test set-up.
> What is the reason for keeping it around anyways? Do the tests run
> considerably slower
Hi,
given that the SessionFactory gets closed after each test, I think it would
only be fair to also rebuild the Configuration on each test set-up.
What is the reason for keeping it around anyways? Do the tests run
considerably slower when re-building the Configuration for each test?
--Hardy
On