org.zodiac.scaff.crud.annotation.EnableFastOrmRepository Maven / Gradle / Ivy
package org.zodiac.scaff.crud.annotation;
import org.springframework.context.annotation.Import;
import javax.persistence.Table;
import java.lang.annotation.*;
/**
* @see org.zodiac.fastorm.rdb.mapping.ReactiveRepository
* @see org.zodiac.fastorm.rdb.mapping.SyncRepository
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Documented
@Import({FastOrmRepositoryRegistrar.class})
public @interface EnableFastOrmRepository {
/**
* Entity class package name:
* com.organization.project.app.moudle.entity
*
* @return The package name.
*/
String[] value();
/**
*
* @return The annotation class.
* @see org.zodiac.fastorm.rdb.mapping.jpa.JpaEntityTableMetadataParser
*/
Class extends Annotation>[] annotation() default Table.class;
boolean reactive() default true;
boolean nonReactive() default false;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy