For CPVC piping, in NFPA 13 2013 which allows cumulative sprinkler hanger distances, I can't find a maximum unsupported length.
"9.2.3.2.5* A single section of pipe shall not require a hanger when the cumulative distance
between hangers on the branch line does not exceed the spacing required by...