First, sorry you are dealing with that. Second, have you taken him to the vet. at 9 months he should be able to hold it for a long time, longer than a few hours. it maybe something that is health related.
Commander Charly Titan (GSD)-15 Jan 2010