spring-framework / org.springframework.jdbc.core / SingleColumnRowMapper / <init>

<init>

SingleColumnRowMapper()

Create a new SingleColumnRowMapper for bean-style configuration.

See Also
#setRequiredType

SingleColumnRowMapper(requiredType: Class<T>)

Create a new SingleColumnRowMapper.

Consider using the #newInstance factory method instead, which allows for specifying the required type once only.

Parameters

requiredType - the type that each result object is expected to match