gskempes wrote:
In order to use batch save the database and the JDBC driver - both - need to support this feature.
What I don't understand is the hype around this feature. Traditional SQL databases support only two forms of INSERTs: INSERT ... VALUES and INSERT ... SELECT. If you really want to put several rows via one SQL statement into a table, you need a (temporary) table to read from. The only advantage I see is to transfer the commands in batches through the network and therefore less response latency times. Please correct me if I'm wrong.
thanks for your reply.
In fact I'm using ORACLE as the underlying database, which support JDBC's batch operation. (And I think most database should suuport this, otherwise JDBC can't be a standard database access specification).