public static Predicate<ProductVersion> withBuildConfigurationId(Integer buildConfigurationId) {
        return (root, query, cb) -> {
            SetJoin<ProductVersion, BuildConfiguration> buildConfigurationJoin = root.join(ProductVersion_.buildConfigurations);
            return cb.equal(buildConfigurationJoin.get(BuildConfiguration_.id), buildConfigurationId);
        };
    }
public static Predicate<ProductVersion> withBuildConfigurationId(Integer buildConfigurationId) {
        return (root, query, cb) -> {
            SetJoin<ProductVersion, BuildConfiguration> buildConfigurationJoin = root.join(ProductVersion_.buildConfigurations);
            return cb.equal(buildConfigurationJoin.get(BuildConfiguration_.id), buildConfigurationId);
        };
    }
public static Predicate < ProductVersion > withBuildConfigurationId ( Integer buildConfigurationId ) { return ( root , query , cb ) -> { SetJoin < ProductVersion , BuildConfiguration > buildConfigurationJoin = root . join ( ProductVersion_ . buildConfigurations ) ; return cb . equal ( buildConfigurationJoin . get ( BuildConfiguration_ . id ) , buildConfigurationId ) ; } ; }
This predicate returns all the ProductVersions linked to a specified BuildConfiguration
This predicate returns all the ProductVersions linked to a specified BuildConfiguration