The requirement is "set an effective user before the 1st db-roundtrip within an transaction and not more often than needed (i.e. do not set it if no db-roundtrip occures within the transaction at...
Type: Posts; User: dibadu; Keyword(s):
The requirement is "set an effective user before the 1st db-roundtrip within an transaction and not more often than needed (i.e. do not set it if no db-roundtrip occures within the transaction at...
Indeed, in the case of a web application, the user is the same as in the http session.
Using a session scoped spring bean would couple our services to the web tier. Our services layer is...
No, it's not the "session-per-operation" pattern where every DB-roundtrip has it's own session. It is the "open session in view" pattern if the service is called from a web application with the...
Thanks for your answer, Anatoly!
It is more a "before" action, that I want to execute. It has to do with porting a legacy framework / application to the "new modern Spring/JPA/Hibernate"...
Sorry for posting the same question again, but the headline was misleading...
I want to lazily invoke some action exactly once per transaction and per database. To accomplish this, I used a...
Hi,
I want to lazily invoke some action exactly once per transaction and database. To accomplish this, I used a ThreadLocal map remembering what I already put in. But in environments that use...