Batcher for MySql
-----------------
Key: NH-2778
URL: http://216.121.112.228/browse/NH-2778
Project: NHibernate
Issue Type: Patch
Components: DataProviders / Dialects
Affects Versions: 3.2.0CR1
Reporter: Oleg Sakharov
Priority: Major
Attachments: MySqlBatcher.patch
Hi,
Few months ago I found that there is no way to do bulk updates for MySql in NHibernate.
After few days of using Reflector on both NHibernate and MySql data provider, I realised that implementing this feature shoudln't be hard.
Please, have a look at the patch attached.
I created it using trunk rev. 5972. Besides code changes, it also requires MySql.Data.dll.
It should work with any version of MySql.Data.dll greater than 5.2.3.0 (at least).
I assume, that having a reference to MySql.Data.dll in the NHibernate solution file is probably the biggest question, and, maybe, the actual reason why this batcher wasn't implemented before. I'm open to any discussion re this matter.
Looking forward to your response.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://216.121.112.228/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|