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

org.noear.wood.mapper.IMapperAdaptor Maven / Gradle / Ivy

There is a newer version: 1.3.14
Show newest version
package org.noear.wood.mapper;

import org.noear.wood.BaseMapper;
import org.noear.wood.DbContext;
import org.noear.wood.DbProcedure;

import java.util.Map;

/**
 * Mapper 能力适配器
 *
 * @author noear
 * @since 1.1
 */
public interface IMapperAdaptor {
    /**
     * 生成 xml 处理器
     */
    DbProcedure createXmlProcedure(DbContext db, String process, Map args);

    /**
     * 生成  BaseMapper
     */
     BaseMapper createMapperBase(DbContext db, Class clz, String tableName);

    /**
     * 生成  Mapper
     */
     T createMapper(DbContext db, Class clz);

    /**
     * 生成  Mapper
     */
     T createMapper(DbContext db, String xsqlid, Map args) throws Exception;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy