Have you tried cutting his water a few hours before bed? Also make sure he eats a few hours before bed so he has plenty of oppertunity to go out.
If he's peeing every few hours has he been checked for a UTI?
Jasmine - Female Miniature Poodle - born Aug 15, 2010
Loker Delgado Von Stalworth - Male GSD - born Jan 26, 2012
Koda & Zazu - 5 year old male cats
Alex - Male Cocker Spaniel (rescue) - RIP Cuddlebug 2007-2010