Issue #2758559 by eporama, leolando.tan, kamalrajsahu21, tstoeckler, larowlan, claudiu.cristea: EntityType::setStorageClass() violates its interface (cherry picked from commit 24d528d8)