@Test public void convert() { final Type type = ((ParameterizedType) BigDecimalPropertyHandler.class .getGenericSuperclass()).getActualTypeArguments()[0]; final Class<?> clazz = (Class<?>) type; System.out.println(clazz.getName()); }
@Override public BigDecimal convert(ResultSet rs, String columnName, Class<BigDecimal> clazz) throws SQLException { BigDecimal i = rs.getBigDecimal(columnName); return rs.wasNull() ? null : i; }
BigDecimalPropertyHandler extends PropertyHandler<BigDecimal> { @Override public BigDecimal convert(ResultSet rs, String columnName, Class<BigDecimal> clazz) throws SQLException { BigDecimal i = rs.getBigDecimal(columnName); return rs.wasNull() ? null : i; } }
BigDecimalPropertyHandler extends PropertyHandler<BigDecimal> { @Override public BigDecimal convert(ResultSet rs, String columnName, Class<BigDecimal> clazz) throws SQLException { BigDecimal i = rs.getBigDecimal(columnName); return rs.wasNull() ? null : i; }  }
BigDecimalPropertyHandler extends PropertyHandler<BigDecimal> { @Override public BigDecimal convert(ResultSet rs, String columnName, Class<BigDecimal> clazz) throws SQLException { BigDecimal i = rs.getBigDecimal(columnName); return rs.wasNull() ? null : i; }  @Override BigDecimal convert(ResultSet rs,
                            String columnName,
                            Class<BigDecimal> clazz); @Override void addParameter(PreparedStatement ps,
                           int paramIndex,
                           BigDecimal param); }
BigDecimalPropertyHandler extends PropertyHandler<BigDecimal> { @Override public BigDecimal convert(ResultSet rs, String columnName, Class<BigDecimal> clazz) throws SQLException { BigDecimal i = rs.getBigDecimal(columnName); return rs.wasNull() ? null : i; }  @Override BigDecimal convert(ResultSet rs,
                            String columnName,
                            Class<BigDecimal> clazz); @Override void addParameter(PreparedStatement ps,
                           int paramIndex,
                           BigDecimal param);  }