I want to create an instance of org.springframework.jdbc.core.BeanPropertyRowMappe r that takes a class as its constructor
e.g. new BeanPropertyRowMapper(Address.class)
How do I do this in a Spring config ?
I'm a bit stumped on how to create a bean containing Address.class, as I am so used to creating singletons of instances of classes.
Code:<bean id="addressRowMapper" class="org.springframework.jdbc.core.BeanPropertyRowMapper"> <constructor-arg > ????? What goes here ??????? </constructor-arg > </bean>


Reply With Quote
