Is the combined use of NHibernate (LGPL) and MySQL Connector/Net (GPL) inside a commercial (non-GPL) product legal if the commercial product only directly talks to NHibernate and NHibernate is talking to the MySQL Connector/Net? (And if so what part of the license(s) is telling me that it is?)
Here is what I think to know so far (correct me if I'm wrong):
- NHibernate is licensed under LGPL what means that I'm free to use it (link to its assembly) inside a commercial product as long is I do not modify NHibernate itself.
- NHibernate is able to optionaly use the MySQL Connector/Net in order to communicate with a MySQL database. (NHibernate can still be LGPL because of the FOSS License Exception)
- Since I will only link to the NHibernate core itself from my commercial product I will indirectly be able to communicate to a MySQL database with the help of the MySQL Connector/Net that if it were used directly would force my commercial product to be licensed under the GPL.
I wouldn't even depend on shipping MySQL Connector/Net along with my commercial product but only download & install it (like I do it with the MySQL server itself) if required at the customers site. (I hope/think that NHibernate is allowing that)