Waking up in the middle of the night is fairly likely to be connected to your blood sugar suddenly dropping either too quickly or just generally getting a bit too low. Either of those is fairly likely for a Type 2 diabetic - the first one is because your body keeps producing insulin to deal with the spike (if not hyper) following dinner and it keeps accumulating and takes a while for the body to stop once the BS gets into normal range, which produces a sharp drop that causes the body to "panic" (and the subsequent response is what wakes you up). It can even cause a short hypo (even though by the time it wakes you up and you check your BS, you might be back to non-hypo levels as if nothing happened - these are the worst).
And as mentioned, even if the above didn't happen, you can simply be getting a bit too low during the night if you didn't eat too much or you last ate long(ish) before going to bed, especially if you're on a medication that promotes insulin production.
In the first case, adjusting how much you eat before bed and what you eat exactly (preferably something that doesn't spike you too much and helps "mellowing out" the BS spike) should help. In the second case, eating a snack just before bed could help as well - just don't eat a lot, it should just be a snack, not a full meal, and have something that's mostly protein and/or fat to not cause a spike instead, the goal is to flatten your BS for the duration of the night as much as possible.