CriteriaQuery<Customer> criteria = builder.createQuery( Customer.class );
Root<Customer> customerRoot = criteria.from( Customer.class );
customerRoot.fetch( "home", JoinType.INNER );
criteria.where(
customerRoot.get( "home" ).in( em.getReference( Address.class, "abc" ) )
);