You're thinking of thermal shock. If you were to take the jars out of the oven and throw them in cold water, they would most definitely break. However, when heated gradually and then cooled gradually, there is very little to worry about. Gradual heat will never cause the jars to break.