ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject Re: How to share a database connection betwwen differnet ant (sql) task
Date Fri, 12 Jan 2007 11:48:45 GMT
ashish shrivastava wrote:
> Thanks Steve ,
> 
> Your inputs are great help.
> 
> Regards
> Ashish Shrivastava
> Software Enginner
> Impetus Infotech Pvt Ltd
> Indore,India
>


I should add that if you do want to do bulk imports of data, the fastest 
way to do it in mysql is to use the LOAD FILE sql command.

I presume other databases have the same feature. These tell the DB 
itself to do the loading, rather than the client. there's no java 
involved, and no network traffic. Just the delays of setting up the 
tables and their indices

-steve


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message