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

org.nutz.dao.enhance.annotation.CallStoredProcedure Maven / Gradle / Ivy

There is a newer version: 1.0.1-release
Show newest version
package org.nutz.dao.enhance.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.sql.Types;

/**
 * @author 黄川 [email protected]
 * date: 2023/3/15
 * 调用存储过程
 */
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface CallStoredProcedure {

    String value();

    /**
     * 出参订阅
     */
    Out[] out() default {};

    /**
     * 定义Out参数
     */
    @interface Out {

        String name();

        int jdbcType() default Types.VARCHAR;

    }


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy