Annotation Type EntityProjection
-
@Documented @Target(PARAMETER) @Retention(RUNTIME) @MethodParameterMapping(processor=@MethodParameterMappingAnnotationProcessorRef(type=EntityProjectionProcessor.class,retrieval=CONSTRUCTOR)) public @interface EntityProjection
Maps a constructor parameter to a projection to the entity that was originally indexed, which for the Hibernate ORM mapper is a managed entity loaded from the database.- See Also:
SearchProjectionFactory.entity(Class)