Skip to content

Conversation

nkjackzhang
Copy link
Contributor

@nkjackzhang nkjackzhang commented Jan 12, 2018

The method checkDaoConfig() may throw an IllegalArgumentException which message is "'dataSource' or 'jdbcTemplate' is required", but doesn't require that jdbcTemplate has non-null 'dataSource' value, this message may confuse users, or maybe the IllegalArgumentException's message should be "'jdbcTemplate' is required"?

SPR-16368

The method checkDaoConfig() may throw a IllegalArgumentException which message is "'dataSource' or 'jdbcTemplate' is required", but not require jdbcTemplate  has non-null 'dataSource' value, this message may confuse users.
@nkjackzhang nkjackzhang changed the title jdbcTemplate in JdbcDaoSupport should have non-null 'dataSource' SPR-16368 - jdbcTemplate in JdbcDaoSupport should have non-null 'dataSource' Jan 12, 2018
@sdeleuze
Copy link
Contributor

Thanks for your contribution, but I have to reject this PR as described in this JIRA comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants