I don't know of any good books as I've never used any however after you get your bass I recommend studying this website.
Ricci Adams' Musictheory.net
And then use their trainers especially things like their interval ear trainer. Use it so much and you will be able to play anything you hear instantly which is the aim (I think we can all agree that it is a great skill).
If you tell me how much you are willing to spend I can give you a more specific model of bass that would okay for beginners.