Skip to:
The EntityManagerFactory is needed to build a Repository which is being injected into the AttributeConverter. e.g.
This triggers the following exception:
I am using the following configuration to provide Hibernate the set of SpringBeans for CDI:
If I try a non-constructor injection approach in my ExampleAttributeConverter e.g.
Then exampleRepository is never set and is constantly null when the AttributeConverter methods are invoked.
The EntityManagerFactory is needed to build a Repository which is being injected into the AttributeConverter. e.g.
This triggers the following exception:
I am using the following configuration to provide Hibernate the set of SpringBeans for CDI:
If I try a non-constructor injection approach in my ExampleAttributeConverter e.g.
Then exampleRepository is never set and is constantly null when the AttributeConverter methods are invoked.