I am evaluating the prospect of developing a commercial java web application using Hibernate as the ORM framework. This application would be installed on a customer's server and would be used by a small number of users. Also I do not want to release my source code since the application is mission critical and it would potentially jeopardize the security of the application.
I'd design the application so if the customer has a enterprise database license already I'd configure Hibernate to use that database. Otherwise, ideally I'd like to provide/recommend a database for them. Based on my current expertise I'd prefer to use MySQL which is dual licensed commercially and under the GPL.
Aside from the Hibernate dialect settings I do not plan to have any MySQL specific code or SQL in my application. Based on information on MySQL's website and many of the conflicting posts I've read online, it would appear that if I want to distribute the application in this manner I would need to purchase a commercial license from MySQL. The cost of a commercial license ($600+ a year from what I understand) would make the software too expensive. I feel that there must be other commercial web applications that allow similar functionality and are not bundled with a database.
That brings me to these two questions:
1.) Are there any known circumstances where you can use MySQL Community Edition with a commercial closed source application without paying a license fee? If so do you know of any commercial applications or companies that legally do this?
2.) Ideally I'd like to use the MySQL connector J driver which I believe is also dual licensed. If I do not bundle this jar in my code and instead instruct the user to download the connector and download and install MySQL Server directly from MySQL's website is this permissible under the GPL?
There are a couple helpful posts already on Stack Overflow (such as http://stackoverflow.com/questions/620696/mysql-licensing-and-gpl) but I am looking for a more specific answer for my case. I realize most of us are not lawyers but any guidance would be helpful so I can get past the legal issues and get started on the actual coding! Thanks.