Complains of painful urination in a child is usually due to Urinary tract infection
. Urine analysis may not be of complete diagnostic value, if the above complain is associated with fever, burning sensation he needs to be treated for UTI.
Male children are commonly known to have vesicoureteric reflux disease, which can produce symptoms like urinary tract infections. This also cause urinary incontinence
ie urine leakage. Get him to a pediatric surgeon or nephrologist
for a Ultrasound
scan and some other test for identifying the problem.