Detective Miguel Ochoa is a fictional character in Richard Castle's Nikki Heat series of books and is based on Castle and Kate Beckett's squadmate Detective Javier Esposito. He is partnered with Detective Raley, whose inspiration is Detective Kevin Ryan, also a member of Beckett's squad, and is a fan of the New York Yankees. Earlier in his career he worked in Narcotics.
Difference from Esposito
Likeness to Esposito
Like Esposito, he often teases his more clumsy and naive partner. He also begins dating Nikki's best friend Lauren Parry once her marriage falls apart, just like Esposito dates Kate Beckett's best friend Lanie Parish.