About the javadoc for the RowCallbackHandler
interface, currently it indicates at the beginning:
An interface used by JdbcTemplate for processing rows of a ResultSet
I think it should be
An interface used by JdbcTemplate and NamedParameterJdbcTemplate for processing rows of a ResultSet
I've confirmed that the NamedParameterJdbcTemplate
class have many methods working through/with RowCallbackHandler
. I used a pair of them and works fine.
Comment From: manueljordan
Just being curious, why in the javadoc for some references/mentions of NamedParameterJdbcTemplate
is included its package? That approach was not applied for the current reference/mention of JdbcTemplate
Comment From: sbrannen
why in the javadoc for some references/mentions of
NamedParameterJdbcTemplate
is included its package?
because it resides in a different package and is not directly used within the class in question.
This is standard procedure within Spring and many projects: we don't import types that are not used in the code.