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

org.beetl.sql.mapper.internal.ExecuteUpdateAMI Maven / Gradle / Ivy

The newest version!
package org.beetl.sql.mapper.internal;

import org.beetl.sql.core.SQLManager;
import org.beetl.sql.core.SQLReady;
import org.beetl.sql.mapper.MapperInvoke;

import java.lang.reflect.Method;

/**
 * create time : 2017-04-27 16:09
 *
 * @author [email protected]
 */
public class ExecuteUpdateAMI extends MapperInvoke {

    @Override
    public Object call(SQLManager sm, Class entityClass,  Method m, Object[] args) {
        return sm.executeUpdate(new SQLReady((String) args[0], (Object[]) args[1]));
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy