// Path: src/main/java/org/easyarch/slardar/jdbc/wrapper/Wrapper.java
// public interface Wrapper<T>  {
// 
//     public List<T> list(ResultSet rs, Class<T> type);
// 
//     public T bean(ResultSet rs, Class<T> type);
// 
// }


import org.easyarch.slardar.annotation.entity.Column;
import org.easyarch.slardar.annotation.entity.Table;
import org.easyarch.slardar.jdbc.wrapper.Wrapper;
import java.lang.reflect.Field;
import java.util.HashMap;
import java.util.Map;
package org.easyarch.slardar.jdbc.handler;/**
 * Description : 
 * Created by YangZH on 16-11-2
 *  下午7:08
 */



/**
 * Description :
 * Created by code4j on 16-11-2
 * 下午7:08
 */

abstract public class AbstractResultSetHandler<T> implements ResultSetHandler<T>{

    protected Wrapper<T> wrapper;
    protected Class<T> type;

    protected static Map<Class<?>,Map<String,String>> fieldMapper = new HashMap<>();
// Path: src/main/java/org/easyarch/slardar/jdbc/wrapper/Wrapper.java
// public interface Wrapper<T>  {
// 
//     public List<T> list(ResultSet rs, Class<T> type);
// 
//     public T bean(ResultSet rs, Class<T> type);
// 
// }


// Path: src/main/java/org/easyarch/slardar/jdbc/handler/AbstractResultSetHandler.java
import org.easyarch.slardar.annotation.entity.Column;
import org.easyarch.slardar.annotation.entity.Table;
import org.easyarch.slardar.jdbc.wrapper.Wrapper;
import java.lang.reflect.Field;
import java.util.HashMap;
import java.util.Map;

package org.easyarch.slardar.jdbc.handler;/**
 * Description : 
 * Created by YangZH on 16-11-2
 *  下午7:08
 */



/**
 * Description :
 * Created by code4j on 16-11-2
 * 下午7:08
 */

abstract public class AbstractResultSetHandler<T> implements ResultSetHandler<T>{

    protected Wrapper<T> wrapper;
    protected Class<T> type;

    protected static Map<Class<?>,Map<String,String>> fieldMapper = new HashMap<>();
    public AbstractResultSetHandler(Wrapper wrapper, Class<T> type){