These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: MySQL with MyDirect DataProvider
PostPosted: Thu Jan 31, 2008 7:45 am 
Regular
Regular

Joined: Mon Oct 02, 2006 12:03 pm
Posts: 62
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;


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.