Skip to content

Document EntityScan for custom event storage engines#4580

Open
wadhwaroh-lang wants to merge 1 commit into
AxonIQ:mainfrom
wadhwaroh-lang:docs/4574-custom-event-storage-engine-entity-scan
Open

Document EntityScan for custom event storage engines#4580
wadhwaroh-lang wants to merge 1 commit into
AxonIQ:mainfrom
wadhwaroh-lang:docs/4574-custom-event-storage-engine-entity-scan

Conversation

@wadhwaroh-lang
Copy link
Copy Markdown
Contributor

@wadhwaroh-lang wadhwaroh-lang commented May 14, 2026

Documents the @EntityScan requirement when using a custom @bean EventStorageEngine with JPA event storage during AF4 → AF5 migration.

The update explains that a user-defined EventStorageEngine can prevent the auto-configuration that registers Axon Framework JPA entities from running, and shows how to include both the application package and Axon Framework packages in @EntityScan.

Fixes #4574

Documentation
Updates the event-store migration path with Spring Boot guidance for custom JPA event storage configuration and warns that partial @EntityScan declarations can hide framework entities such as event store, token store, and dead-letter queue entries.

Signed-off-by: wadhwaroh-lang <wadhwa.roh@gmail.com>
@wadhwaroh-lang wadhwaroh-lang requested a review from a team as a code owner May 14, 2026 02:14
@wadhwaroh-lang wadhwaroh-lang requested review from hatzlj, hjohn and laura-devriendt-lemon and removed request for a team May 14, 2026 02:14
@smcvb smcvb added the Status: Under Discussion Use to signal that the issue in question is being discussed. label May 15, 2026
@smcvb smcvb added this to the Release 5.2.0 milestone May 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Status: Under Discussion Use to signal that the issue in question is being discussed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Custom @Bean EventStorageEngine silently disables @RegisterDefaultEntities

2 participants