Sybase JConnect: ENABLE_BULK_LOAD usage

前端 未结 5 2114
野的像风
野的像风 2020-12-16 08:10

Can anyone out there provide an example of bulk inserts via JConnect (with ENABLE_BULK_LOAD) to Sybase ASE?

I\'ve scoured the internet and found nothing

5条回答
  •  无人及你
    2020-12-16 08:25

    Support for Batch Updates

    Batch updates allow a Statement object to submit multiple update commands as one unit (batch) to an underlying database for processing together.

    Note: To use batch updates, you must refresh the SQL scripts in the sp directory under your jConnect installation directory. CHAPTER

    See BatchUpdates.java in the sample (jConnect 4.x) and sample2 (jConnect 5.x) subdirectories for an example of using batch updates with Statement, PreparedStatement, and CallableStatement. jConnect also supports dynamic PreparedStatements in batch.

    Reference:

    http://download.sybase.com/pdfdocs/jcg0420e/prjdbc.pdf

    http://manuals.sybase.com/onlinebooks/group-jcarc/jcg0520e/prjdbc/@ebt-link;hf=0;pt=7694?target=%25N%14_4440_START_RESTART_N%25#X

    .

    Other Batch Update Resources

    http://java.sun.com/j2se/1.3/docs/guide/jdbc/spec2/jdbc2.1.frame6.html

    http://www.jguru.com/faq/view.jsp?EID=5079

提交回复
热议问题