Announcement Announcement Module
Collapse
No announcement yet.
SingleColumnJdbcKeyCollector jdbcTemplate Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • SingleColumnJdbcKeyCollector jdbcTemplate

    I was trying to to wire the SingleColumnJdbcKeyCollector and set the jdbcTemplate and found it doesn't have a setJdbcTemplate method? Am I missing something or is this an oversight that will be corrected?
    I am using spring-batch-dist-1.0.0.rc1

  • #2
    It uses constructor injection. There's a constructor that takes the sql statement as a string and the template. There's a separate setter for the sql statement, but not the template. I'll create a jira issue to add one, but in rc1 constructor injection will work.

    Comment


    • #3
      Thank you for the looking into it.

      Comment

      Working...
      X