shouldn't be correct as well?Within validateCreate(), calls to EntityManager methods can be made.
From the explanation:
Although not portable can actually be invoked.In general, the lifecycle method of a portable application should not invoke EntityManager or Query operation(...)