The new metamodel is not currently supported and is very stale in ORM 4/master. We have a separate branch ("metamodel") where this is continuing to be worked that will be used as the basis of ORM 5.