My 2nd oldest had an issue with until he was almost 10. We'd wake him up around 11 and make him pee. It worked most of the time. He just grew out of it.
My daughter was having issues with it. We thought it was just like her older brother. Then we found out it was just a symptom of diabetes. That's why asked if your child is always hungry/thirsty.