com.github.mikesafonov.specification.builder.starter.annotations.Join Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spring-boot-starter-specification-builder Show documentation
Show all versions of spring-boot-starter-specification-builder Show documentation
Spring Boot starter for building specifications in declarative way
package com.github.mikesafonov.specification.builder.starter.annotations;
import javax.persistence.criteria.JoinType;
import java.lang.annotation.*;
/**
* Specifies a field for joining using join type {@link #type()}
*
* @author MikeSafonov
*/
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
@Repeatable(Joins.class)
public @interface Join {
String value();
JoinType type() default JoinType.INNER;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy