Not all pole barns are built that way. Some newer techniques are being used. Pouring concrete pylons and attaching the post to that using brackets designed for it. There is no contact with the ground. So in essence they have a pseudo foundation but nothing like you're talking about.