Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Java api for Sybase Bulk Copy?

Status
Not open for further replies.

PeteG

Programmer
Feb 23, 2001
144
GB
Hi,
Is there a way of calling the Sybase bulk copy utility (bcp) from java? I am carrying out a lot of individual inserts and am aware that they would complete a lot quicker using bcp. Can this be invoked from java directly, ie not by writing sql statements to a file and then processing the file?
Cheers
 
JDBC is the standard interface to databases - and is non-vendor-specific - meaning there is no support in the JDBC spec for db-specific functions.

That said, the Sybase driver may implement some non-standard features - check your database documentation.

--------------------------------------------------
Free Java/J2EE Database Connection Pooling Software
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top