Check a system property before EntityManager injection outside work unit happens by nuzayats · Pull Request #997 · google/guice (original) (raw)
…on before implicit EntityManager injection happens.
nuzayats changed the title
Check a system property before implicit EntityManager injection happens. Check a system property before EntityManager injection outside work unit happens
copybara-service Bot pushed a commit that referenced this pull request
…because it leads to leaks. Fixes #739, fixes #997, fixes #730, fixes #985, fixes #959, fixes #731. This also adds an optional Options to the JpaPersistModule constructor, if users wish to use the legacy behavior. This is a breaking change, but to a better default value. Users who want to keep the dangerous form can opt back in with the options.
PiperOrigin-RevId: 525852009
copybara-service Bot pushed a commit that referenced this pull request
…because it leads to leaks. Fixes #739, fixes #997, fixes #730, fixes #985, fixes #959, fixes #731. This also adds an optional Options to the JpaPersistModule constructor, if users wish to use the legacy behavior. This is a breaking change, but to a better default value. Users who want to keep the dangerous form can opt back in with the options.
PiperOrigin-RevId: 525852009
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})