All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.gitee.qdbp.jdbc.result.RowToBeanMapper Maven / Gradle / Ivy

package com.gitee.qdbp.jdbc.result;

import org.springframework.jdbc.core.RowMapper;
import com.gitee.qdbp.able.jdbc.condition.TableJoin;

/**
 * 结果集行数据到JavaBean的转换工具
 *
 * @author zhaohuihua
 * @version 190617
 */
public interface RowToBeanMapper extends RowMapper {

    /**
     * Row到Bean转换处理工厂类 (单表)
     *
     * @author zhaohuihua
     * @version 20210308
     * @serial 3.3.0
     */
    interface FactoryOfTable {

        /** 获取Row到Bean的转换处理类 (单表) **/
         RowToBeanMapper getRowToBeanMapper(Class mappedClass);
    }

    /**
     * Row到Bean转换处理工厂类 (多表关联)
     *
     * @author zhaohuihua
     * @version 20210308
     * @serial 3.3.0
     */
    interface FactoryOfTables {

        /** 获取Row到Bean的转换处理类 (多表关联) **/
         RowToBeanMapper getRowToBeanMapper(TableJoin tables, Class mappedClass);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy