Skip to content

Added driver to support dotConnect for MySql #149

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 30, 2012
Merged

Added driver to support dotConnect for MySql #149

merged 1 commit into from
Dec 30, 2012

Conversation

andreazevedo
Copy link
Contributor

Just added a new driver to support dotConnect for MySql by DevArt: http://www.devart.com/dotconnect/mysql/

@hazzik
Copy link
Member

hazzik commented Sep 27, 2012

Please create JIRA issue for this feature

@andreazevedo
Copy link
Contributor Author

Done: NH-3283

@hazzik
Copy link
Member

hazzik commented Oct 4, 2012

@andreazevedo where could I download the connector?

@andreazevedo
Copy link
Contributor Author

public DotConnectMySqlDriver() : base(
"Devart.Data.MySql",
"Devart.Data.MySql.NHibernate.NHibernateMySqlConnection",
"Devart.Data.MySql.NHibernate.NHibernateMySqlCommand")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could not find "Devart.Data.MySql.NHibernate.NHibernateMySqlConnection" and "Devart.Data.MySql.NHibernate.NHibernateMySqlCommand" classes in Devart.Data.MySql.dll

Are you sure that this is not a mistake?

@andreazevedo
Copy link
Contributor Author

Try this:

  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <qualifyAssembly partialName="Devart.Data.MySql" fullName="Devart.Data.MySql, Version=7.2.77.0, Culture=neutral, PublicKeyToken=09af7300eec23701" />

@andreazevedo
Copy link
Contributor Author

The great advantage of this provider is that it supports Distributed Transactions on MySql.

@hazzik
Copy link
Member

hazzik commented Oct 4, 2012

Ok, I've found these classes but in "Trial" distribution, but in "Express" these classes is not presented....

@andreazevedo
Copy link
Contributor Author

@hazzik hmm, you're right. Sorry for that, I use the paid version as I need distributed transactions.
I just found this editions page: http://www.devart.com/dotconnect/mysql/editions.html

@oskarb
Copy link
Member

oskarb commented Oct 6, 2012

It is odd that they list a feature such as "NHibernate support" - what would be so special with NHibernateMySqlConnection etc? One would think that "NHibernate support" should rather imply that they provide a an NHibernate driver in the package.

@oskarb
Copy link
Member

oskarb commented Dec 30, 2012

Hmm, I still don't know what is speciall about NHibernateMySqlConnection, but I suppose one conceivable reason for them to not provide the driver class is that they want to avoid actually depending on NHibernate.

oskarb added a commit that referenced this pull request Dec 30, 2012
Added driver to support dotConnect for MySql
@oskarb oskarb merged commit 4defd99 into nhibernate:3.3.x Dec 30, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants