hibernate/hibernate-orm — pull request #328 by sschulze (2012-05-08 09:19:58+00:00)
Title: HHH-7300 - TypeDefs won't be found depending of files read-order

If the Configuration first load (i.e. addResource or addDirectory or similar) an entity-mapping and after that a type, which is used by the entity, the call to buildSessionFactory() fails because the refered type could not be resolved.
I fixed this issue by registering a SecondPass-action for each not-basic type which could not be resolved in the first pass.