Rhino ETL will Support BulkInsert for all Database(sql, oracle, mysql)

223 views
Skip to first unread message

Dev

unread,
Nov 9, 2012, 4:46:35 AM11/9/12
to rhino-t...@googlegroups.com
Hello,

I just want to know 'Rhino ETL will Support BulkInsert for all Database(sql, oracle, mysql)'

If support where can i start.

Thanks

Jason Meckley

unread,
Nov 9, 2012, 8:11:05 AM11/9/12
to rhino-t...@googlegroups.com
BulkInsert is specific to SqlServer. It uses a SqlConnection, not an IDbConnection. Here is the code https://github.com/hibernating-rhinos/rhino-etl/blob/master/Rhino.Etl.Core/Operations/SqlBulkInsertOperation.cs#L275

Dev

unread,
Nov 11, 2012, 11:28:43 PM11/11/12
to rhino-t...@googlegroups.com
Can we implement with IDbConnection for all databases

Thanks,
Venkat

Jason Meckley

unread,
Nov 12, 2012, 8:28:13 AM11/12/12
to rhino-t...@googlegroups.com
Not sure I understand what you are asking, but BulkInsert operation is specific to SqlServer. It utilized the SqlBulkCopy object which is specific to SqlServer. The same is true for SqlBatchOperation, it's specific to Sql Server. If there is a batch type command for a specific database you should be able to implement your own AbstractDatabaseOperation for the specific driver. Similar to how SqlBatchOperation is specifically implemented for Sql Server..
Reply all
Reply to author
Forward
0 new messages