Joshua Hernandez, 35, of Visalia, was sentenced on Friday, Jan. 31, 2025, to 145 years to life for child molestation.