Re: Bulk Loading Column Mapping
Posted by: Fernando Gonzalez Sanchez
Date: July 08, 2013 10:38AM

Hi,

MySqlBulkLoader internally uses "load data" statement, but doesn't allow a lot of customization of it. I think in that case, you may want to skip over MySqlBulkLoader class and use load data directly, ie.

LOAD DATA INFILE 'file.txt'
INTO TABLE t1
(column1, @var1)
SET column2 = @var1/100;

For more details http://dev.mysql.com/doc/refman/5.7/en/load-data.html

Options: ReplyQuote


Subject
Written By
Posted
Re: Bulk Loading Column Mapping
July 08, 2013 10:38AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.