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

de.zalando.sprocwrapper.SProcParam Maven / Gradle / Ivy

Go to download

Library to make PostgreSQL stored procedures available through simple Java "*SProcService" interfaces including automatic object serialization and deserialization (using typemapper and convention-over-configuration). Supports sharding, advisory locking, statement timeouts and PostgreSQL types such as enums and hstore.

There is a newer version: 2.0.0
Show newest version
package de.zalando.sprocwrapper;

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

/**
 * @author  jmussler
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.PARAMETER)
public @interface SProcParam {
    String name() default "";

    /**
     * database type name.
     *
     * @return
     */
    String type() default "";

    int sqlType() default -1;

    /**
     * whether the stored procedure argument contains sensitive information: sensitive parameters (e.g. "password") are
     * masked out in the debug log
     *
     * @return
     */
    boolean sensitive() default false;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy