Closed zambrovski closed 6 years ago
If you are using EventSourcing, please remember to put the following code into your persistence.xml
:
<class>org.axonframework.eventsourcing.eventstore.jpa.DomainEventEntry</class>
<class>org.axonframework.eventsourcing.eventstore.jpa.SnapshotEventEntry</class>
<class>org.axonframework.eventhandling.saga.repository.jpa.AssociationValueEntry</class>
<class>org.axonframework.eventhandling.saga.repository.jpa.SagaEntry</class>
<properties>
<property name="hibernate.hbm2ddl.auto" value="update"/>
</properties>
My example is finally working! Thanks for all the help. Example is here: https://github.com/alexmacavei/cqrs-example
@alexmacavei that's cool. cloned it and at least I can built it. How do I use it? Are you planning to move this to the axon-cdi/example area?
Sure will do :) You "mvn clean package" and then "java -jar target/cqrs-example-swarm.jar"
Pe 10 ian. 2018 11:28, "Jan Galinski" notifications@github.com a scris:
@alexmacavei https://github.com/alexmacavei that's cool. cloned it and at least I can built it. How do I use it? Are you planning to move this to the axon-cdi/example area?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/holisticon/axon-cdi/issues/13#issuecomment-356548135, or mute the thread https://github.com/notifications/unsubscribe-auth/AJ_PRVqXUFuVANB-m4gHHCqF8SZMKtxBks5tJILBgaJpZM4RYaEI .
I'm getting this with TxAwareJPAEventStorageEngine:
java.lang.IllegalArgumentException: Unknown entity: org.axonframework.eventsourcing.eventstore.jpa.DomainEventEntry
Are these related I wonder?