Examples of using "目を覚ましてみると夢だったことがわかった。" in a sentence and their polish translations:
Obudziłem się i zrozumiałem, że to był sen.
Obudziłem się, by odkryć, że to wszystko było tylko snem.