Link Details

Link 958535 thumbnail
User 225256 avatar

By mswatcher
Submitted: Apr 22 2013 / 07:21

Unit of work design pattern does two important things first it maintains in-memory updates and second it sends these in-memory updates as one transaction to the database. So to achieve the above goals it goes through two steps:- It maintains lists of business objects in-memory which have been changed (inserted, updated or deleted) during a transaction. Once the transaction is completed, all these updates are sent as one BIG UNIT OF WORK to be persisted physically in database one GO.
  • 2
  • 0
  • 137
  • 40

Add your comment

Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (2)

Voters Against This Link (0)

    Apache Hadoop
    Written by: Piotr Krewski
    Featured Refcardz: Top Refcardz:
    1. Play
    2. Akka
    3. Design Patterns
    4. OO JS
    5. Cont. Delivery
    1. Play
    2. Java Performance
    3. Akka
    4. REST
    5. Java