List of usage examples for org.springframework.jdbc.core.namedparam BeanPropertySqlParameterSource getReadablePropertyNames
public String[] getReadablePropertyNames()
From source file:com.stehno.sjdbcx.reflection.DefaultParamMapper.java
private void addBean(final MapSqlParameterSource source, final Object beanObj) { final BeanPropertySqlParameterSource beanSource = new BeanPropertySqlParameterSource(beanObj); for (final String name : beanSource.getReadablePropertyNames()) { source.addValue(name, beanSource.getValue(name)); }/* w ww . j av a 2s.c o m*/ }