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
Lady Athena (BB)-2011-2012 (RIP baby girl)