HybridJpaRepository support in Axon 3.0

Hi all,

I am trying to upgrade Axon to version 3.0 in our project, but the HybridJpaRepository, which we are using, is missing from the latest codebase.

Is there another repository that is supposed to behave in the similar manner as does HybridJpaRepository in Axon 2.x? If not, is there a plan to add support for hybrid approach in version 3.0?

Thank you for your answers!

Best regards,
Stanislav

Hi Stanislav,

the HybridJpaRepository doesn’t exist in Axon 3 anymore. Instead, you can use the GenericJpaRepository. To store events, instead of just publishing them, use an EventStore instead of an EventBus. That will give you the same semantics as the HybridJpaRepository.

Cheers,

Allard