Binder#bindIdentifierGenerator leads to NPE due to bad Map calls

Description

http://pastie.org/9196859 is a NPE that occurs when the CDI BeanManager
is accessed during the first (EntityManagerFactoryBuilder) phase.
Hibernate ORM shouldn't use the BeanManager until the second bootstrap phase.

Links to git integration efforts to bring Hibernate 5.x into WildFly 9:
https://github.com/scottmarlow/wildfly/tree/hibernate5
https://github.com/scottmarlow/jipijapa/tree/JIPI-31

Environment

None

Status

Assignee

Steve Ebersole

Reporter

Scott Marlow

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Priority

Blocker
Configure