The purpose of this study is to compare the safety and efficacy of Oral Osmotic Therapeutic System (OROS) hydromorphone hydrochloride (HCl) with controlled-release oxycodone HCl in participants with cancer-related pain.