app/src/main/java/db/juhaku/juhakudb/core/android/transaction/QueryTransactionTemplate.java
/**
     * Checks whether foreign key join has {@link FetchType} set to EAGER.
     * @param field Instance of {@link Field}.
     * @return returns true if eager fetch is allowed; false otherwise.
     *
     * @since 2.0.0
     *
     * @hide
     */
Checks whether foreign key join has  FetchType set to EAGER.
@param field Instance of  Field.
@return returns true if eager fetch is allowed; false otherwise.



@hide
Checks whether foreign key join has FetchType set to EAGER . @param field Instance of Field . @return returns true if eager fetch is allowed ; false otherwise . @hide
private static boolean isForeignKeyJoinEagerFetchAllowed(Field field) {
        return (field.isAnnotationPresent(ManyToOne.class) && field.getAnnotation(ManyToOne.class).fetch() == FetchType.EAGER)
                || (field.isAnnotationPresent(OneToOne.class) && field.getAnnotation(OneToOne.class).fetch() == FetchType.EAGER)
                && StringUtils.isBlank(field.getAnnotation(OneToOne.class).mappedBy());
    }
private static boolean isForeignKeyJoinEagerFetchAllowed ( Field field ) { return ( field . isAnnotationPresent ( ManyToOne . class ) && field . getAnnotation ( ManyToOne . class ) . fetch ( ) == FetchType . EAGER ) || ( field . isAnnotationPresent ( OneToOne . class ) && field . getAnnotation ( OneToOne . class ) . fetch ( ) == FetchType . EAGER ) && StringUtils . isBlank ( field . getAnnotation ( OneToOne . class ) . mappedBy ( ) ) ; }
Checks whether foreign key join has {@link FetchType} set to EAGER.
Checks whether foreign key join has { @link FetchType } set to EAGER .