Hello forum,
I'm using NHibernate in order to access to my MySQL database. The problem is I need using a pool of connection. The problem is that the standart MySql Data provider doesn't support a pool of connection. I'm testing it using MyDirect.NET Data provider (ADO.NET implementation) but I don't know how to configure it.
Now -->
Code:
props["hibernate.dialect"] = "NHibernate.Dialect.MySQLDialect";
props["hibernate.connection.driver_class"] = "NHibernate.Driver.MySqlDataDriver";
props["hibernate.connection.connection_string"] = "Server=" + server + ";Database=" + database + ";User Id=" + user + ";Password=" + password;