@Target(value=TYPE) @Retention(value=RUNTIME) @Documented public @interface Priority
This is a class annotation that indicates that the entity class has an injection priority rather than the query result.
In a query, you might encounter a query result field that is not owned by the entity class, This annotation is used to avoid this error and no longer throws an exception to the input field. The entity class is injected as a priority, and if the entity class does not contain the query field, then skip.
Copyright © 2023. All rights reserved.