Glass jars have defintelty been the way to go in my experience. Not only are they BPA free, they are also free of many other harmful plastics that even bpa free containers contain. I have found so many uses for old glass jars of salsa, pickles, sauerkraut.. you name it.
GFS sells gallon sized pickle jars and I think these would be perfect for rice, beans, oats, etc..