There is similar bug in CompositeIdentifierSingularAttributeSourceManyToOneImpl . Element key-many-to-one can not contain 'node' attribute so getXmlNodeName should return null instead of keyManyToOneElement.getName().