hibernate/hibernate-orm — pull request #423 by gbadner (2012-12-12 18:54:53+00:00)
Title: HHH-7771 : Deprecate obsolete Type, AssociationType, and TypeFactory methods

In the more recent commit, the mapping and metamodel classes have been updated to call the new TypeFactory methods.

Since the default value for EntityType.isEmbeddedInXML and CollectionType.isEmbeddedInXML is true, EntityType.isEmbeddedInXML() and CollectionType.isEmbeddedInXML() will always return true, regardless of how it is mapped.

AFAICT, this won't have an impact on Hibernate. There could be problems if anything else uses the return value when a mapping sets embed-xml="false".

WDYT?