Search:

Type: Posts; User: dibadu; Keyword(s):

Search: Search took 0.02 seconds.

  1. The requirement is "set an effective user before...

    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...
  2. Indeed, in the case of a web application, the...

    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...
  3. No, it's not the "session-per-operation" pattern...

    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...
  4. Thanks for your answer, Anatoly! It is...

    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"...
  5. Howto bind application specific information on a Spring Transaction?

    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...
  6. Putting context information on the spring context

    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...
Results 1 to 6 of 6