-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make sure JpaAfterClearFlusher is registered if an EntityManager exists #6
Labels
Comments
robert-bor
added a commit
that referenced
this issue
Oct 25, 2017
Issue #6 when JPA is in play, make sure to register the JpaAfterClearFlusher with a valid EntityManager. This will be added to the flush-chain, to be potentially executed when flushAfterClear is turned on. This can be either set on BeanCollection or the override configuration. Note that @PersistenceContext cannot be used in the auto-configuration, since this will fail the tests. Instead optional @Autowired is used.
robert-bor
added a commit
that referenced
this issue
Oct 25, 2017
Issue #6 when JPA is in play, make sure to register the JpaAfterClearFlusher with a valid EntityManager. This will be added to the flush-chain, to be potentially executed when flushAfterClear is turned on. This can be either set on BeanCollection or the override configuration. Note that @PersistenceContext cannot be used in the auto-configuration, since this will fail the tests. Instead optional @Autowired is used.
robert-bor
added a commit
that referenced
this issue
Oct 25, 2017
Issue #6 when JPA is in play, make sure to register the JpaAfterClearFlusher with a valid EntityManager. This will be added to the flush-chain, to be potentially executed when flushAfterClear is turned on. This can be either set on BeanCollection or the override configuration. Note that @PersistenceContext cannot be used in the auto-configuration, since this will fail the tests. Instead optional @Autowired is used.
robert-bor
added a commit
that referenced
this issue
Oct 25, 2017
Issue #6 when JPA is in play, make sure to register the JpaAfterClearFlusher with a valid EntityManager. This will be added to the flush-chain, to be potentially executed when flushAfterClear is turned on. This can be either set on BeanCollection or the override configuration. Note that @PersistenceContext cannot be used in the auto-configuration, since this will fail the tests. Instead optional @Autowired is used.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See the raison d'etre for the AfterClearFlusher concept.
The starter must ascertain the JpaAfterClearFlusher is instantiated with the EntityManager and registered to BeanMapper.
The text was updated successfully, but these errors were encountered: