Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extract JdbcTemplate.newArgPreparedStatementSetter(args) [SPR-3977] #8657

Closed
spring-projects-issues opened this issue Oct 15, 2007 · 3 comments
Labels
in: data Issues in data modules (jdbc, orm, oxm, tx) type: enhancement A general enhancement
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Oct 15, 2007

Stepan Koltsov opened SPR-3977 and commented

Please extract 3 calls to


new ArgPreparedStatementSetter(args)


in JdbcTemplate into protected method


PreparedStatementSetter newArgPreparedStatementSetter(Object[] args) { ... }


so creation of APSS can be easily overriden in subclass of JdbcTemplate.


Affects: 2.1 M3

Referenced from: commits b88db7a

1 votes, 0 watchers

@spring-projects-issues
Copy link
Collaborator Author

spring-projects-issues commented Oct 15, 2007

Stepan Koltsov commented

See also #8658.

@spring-projects-issues
Copy link
Collaborator Author

Phil Zoio commented

Or alternatively, just make ArgPreparedStatementSetter public so that it can be used in subclasses of JdbcTemplate.

@spring-projects-issues
Copy link
Collaborator Author

Stepan Koltsov commented

Making ArgPreparedStatementSetter public is not an alternative.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: data Issues in data modules (jdbc, orm, oxm, tx) type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant