Repository @Query(value="select city,country,house_number,label,state,zip_code from address,user where user.id=address.user_id and user_id=:id", nativeQuery = true) List<Object[]> findCustomer(@Param("id") Integer id);