metamodel branch with the same fix is at https://github.com/scottmarlow/hibernate-orm/tree/metamodel_HHH-7850 and master fix is at https://github.com/scottmarlow/hibernate-orm/tree/master_HHH-7850 (will merge later)
metamodel branch with the same fix is at https://github.com/scottmarlow/hibernate-orm/tree/metamodel_HHH-7850 and master fix is at https://github.com/scottmarlow/hibernate-orm/tree/master_HHH-7850 (will merge later)