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

com.blinkfox.fenix.specification.annotation.OrLikePattern Maven / Gradle / Ivy

Go to download

This is an extension library to the Spring Data JPA complex or dynamic SQL query. 这是一个为了解决复杂动态 SQL (JPQL) 而生的 Spring Data JPA 扩展库,能辅助开发者更方便快捷的书写复杂、动态且易于维护的 SQL,支持 ActiveRecord 模式和多种查询方式。

There is a newer version: 3.0.0
Show newest version
package com.blinkfox.fenix.specification.annotation;

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

/**
 * 用于“或语句按给定的模式来模糊匹配”({@code LIKE})场景的注解.
 *
 * @author blinkfox on 2020-01-26
 * @since v2.2.0
 */
@Documented
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface OrLikePattern {

    /**
     * 注解的实体字段属性名称,默认为空或空字符串时将使用属性名称.
     *
     * @return 值
     */
    String value() default "";

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy