Java Mailing List Archive

http://www.gg3721.com/

Home » the NHibernate development list »

[NHibernate-development] IBatcherFactory, what we can do ?

Fabio Maulo

2008-01-06

Replies: Find Java Web Hosting

Author LoginPost Reply
Hi friends.

In H3 the Batcher is injectable through session factory configuration.

In NH we have, so far, only two Batcher for MSSQL and Oracle drives.
Practically in NH the BatcherFactory is the Drive it self.

If we port the H3 behavior a user must set the appropriate Batcher
through session factory configuration.

To work around the problem I think this:
1) Adapt our CodeBase to work like H3: BatcherFactory injectable.
2) If the BatcherFactory is not configured NH check if the Drive is
the BatcherFactory.

Thoughts?

H3 have a default Batcher for all Driver, have somebody analyzed if it
is possible for us too ?

Bye.
Fabio Maulo

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nhibernate-development mailing list
Nhibernate-development@(protected)
https://lists.sourceforge.net/lists/listinfo/nhibernate-development
©2008 gg3721.com - Jax Systems, LLC, U.S.A.