Class AnnotationSupportRowMapper<T>

java.lang.Object
com.pugwoo.dbhelper.utils.AnnotationSupportRowMapper<T>
Type Parameters:
T -
All Implemented Interfaces:
org.springframework.jdbc.core.RowMapper<T>

public class AnnotationSupportRowMapper<T> extends Object implements org.springframework.jdbc.core.RowMapper<T>
2015年1月13日 17:48:30
抽取出来的根据注解来生成bean的rowMapper
  • Constructor Details

    • AnnotationSupportRowMapper

      public AnnotationSupportRowMapper(DBHelper dbHelper, Class<T> clazz)
    • AnnotationSupportRowMapper

      public AnnotationSupportRowMapper(DBHelper dbHelper, Class<T> clazz, boolean selectOnlyKey)
  • Method Details

    • mapRow

      public T mapRow(ResultSet rs, int index)
      Specified by:
      mapRow in interface org.springframework.jdbc.core.RowMapper<T>