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

org.apache.ibatis.solon.integration.MybatisAdapterFactoryDefault Maven / Gradle / Ivy

There is a newer version: 3.0.0-M4
Show newest version
package org.apache.ibatis.solon.integration;

import org.noear.solon.core.BeanWrap;
import org.noear.solon.core.Props;
import org.apache.ibatis.solon.MybatisAdapter;
import org.apache.ibatis.solon.MybatisAdapterFactory;

/**
 * Mybatis 适配器工厂默认实现
 *
 * @author noear
 * @since 1.5
 */
public class MybatisAdapterFactoryDefault implements MybatisAdapterFactory {
    @Override
    public MybatisAdapter create(BeanWrap dsWrap) {
        return new MybatisAdapterDefault(dsWrap);
    }

    @Override
    public MybatisAdapter create(BeanWrap dsWrap, Props props) {
        return new MybatisAdapterDefault(dsWrap, props);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy