Skip to content

Add batchQuery methods to JDBCTemplate [SPR-1835] #6529

Closed
@spring-projects-issues

Description

@spring-projects-issues

Arthur Branham opened SPR-1835 and commented

For details on the scenario where a batchQuery method would be desireable view this issue:
http://opensource.atlassian.com/projects/spring/browse/SPR-1786

I will attach a file with an implementation of the following methods as well as a sample usage:

public Object[] batchQuery(String sql,final BatchPreparedStatementSetter pss,final ResultSetExtractor rse) throws DataAccessException;

public Object[] batchQuery(String sql,final BatchPreparedStatementSetter pss,final RowCallbackHandler rch) throws DataAccessException;

public Object[] batchQuery(String sql,final BatchPreparedStatementSetter pss,final RowMapper rm) throws DataAccessException ;


Affects: 2.0 M3

Attachments:

Issue Links:

2 votes, 4 watchers

Metadata

Metadata

Assignees

Labels

in: dataIssues in data modules (jdbc, orm, oxm, tx)status: declinedA suggestion or change that we don't feel we should currently applytype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions