com.jpattern.orm.session
Interface BatchPreparedStatementSetter


public interface BatchPreparedStatementSetter

Author:
Francesco Cina 02/lug/2011 Set the values of a PreparedStatement to be executed in a batch update.

Method Summary
 int getBatchSize()
           
 void set(PreparedStatement ps, int i)
           
 

Method Detail

set

void set(PreparedStatement ps,
         int i)
         throws SQLException
Parameters:
ps - the prepared statement
i - the index of the batch (from 0 to batchSize-1)
Throws:
SQLException

getBatchSize

int getBatchSize()


Copyright © 2013. All Rights Reserved.