Re: MySqlDataDriver: Using DbProviderFactories.GetFactory instead of Reflection?

"Fabio Maulo" <[email protected]> Mon, 7 Jul 2008 17:50:58 -0300
Newsgroups gmane.comp.windows.dotnet.nhibernate.devel
Message-ID <[email protected]>
2008/7/7 Max <[email protected]>:

>
> It would be much nicer if nhibernate would just locate the dll in the
> GAC itself because this would require zero-configuration. Would
> ADO.NET's DbProviderFactories.GetFactory() break anything?
>
> Don't break anything but at the same time don't add any special feature.
We need rethink our drivers, check which DP implement DbProviderFactory,
define what we do if the DP is not installed in the GAC or if it is
installed but not implement DbProviderFactory.

If you have 2 version of the same dll in the GAC you need to configure the
GAC using binding policies or you can use a version for a specific app and
another version for another app using the run-time-assemblyBinding
configuration.

What I think is that, at the end, somebody must configure something in some
where.

BTW there is no problem if you use our JIRA to add your request.

Thanks.
Fabio Maulo

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08

_______________________________________________
Nhibernate-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nhibernate-development