The longest I've ever seen is 15 years. It's often subject to serviceability as the assessment criteria can change significantly (for the worse).
A LOC product is technically interest only for the entire loan term up to 30 years. This type of product usually isn't ideal for that kind of...