|
As I told you on IRC, I have CDI beans that provide functions. I have to register these functions to an existing EntityManagerFactory/SessionFactory. Since the CDI initialization seems to happen after the JPA initialization in Java EE, there is no way for my CDI beans to provide these functions. Thus I have to add them the hacky way. Would be cool if the JPA bootstrap could be defered until CDI has booted and also let CDI beans contribute to the metamodel.
|