Check a system property before EntityManager injection outside work unit happens by nuzayats · Pull Request #997 · google/guice (original) (raw)

@nuzayats

…on before implicit EntityManager injection happens.

@nuzayats nuzayats changed the titleCheck a system property before implicit EntityManager injection happens. Check a system property before EntityManager injection outside work unit happens

Feb 28, 2016

@nuzayats

copybara-service Bot pushed a commit that referenced this pull request

Apr 21, 2023

@sameb

…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

Apr 21, 2023

@sameb

…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 }})