I have a 9 year old too who wets the bed every night. The doc's only concern is that she's probably constipated.
Waking your child up doesn't really have any effect. When they wake up they tighten up that muscle group and don't go except for a small trickle if anything. They as soon as they go back into deep sleep they relax and pee. So it's pretty counterproductive. It trains them to not recognize the urge.
No one is supposed to wake up during the night to go pee, you're supposed to lay down, go to sleep, stay asleep, get up, go pee, and so forth. No one is supposed to wake up during the night to go, that usually means you have a pre-diabetes issue going on. Occasional waking up to go is okay but frequent waking is reason to visit with the doc and do a sugar test for diabetes.
This child likely needs to wear a pull up if you don't want to add a ton of laundry to your daily chores. By the time you add up the extra loads for just one bed every day you end up wishing you'd bought a $15 box of pull ups.
Underjams don't cut it for us. They are almost as bad as not wearing anything.
We get the overnight larger size pullups. The boys have buzz lightyear or some super hero on them and the girls have flowers.
They work really well. Very few leaks even if the flood themselves.
I also suggest you have the doc do an X-ray or ultra sound of her abdomen to see if she's full. The weight of the feces on her bladder will push the pee out as soon as she relaxes and goes to sleep.
Our doc gave my granddaughter a supplement that you mix in water that she is to take for a few days if she gets blocked up. This allows her to have more productive movements and she is less likely to go during her sleep.