Software Architecture: Unit of Work design pattern discussion
- by santiagobasulto
Hey everybody.
According Martin Fowler's Unit of Work description:
"Maintains a list of objects that are
affected by a business transaction and
coordinates the writing out of changes
and resolution of concurrency
problems."
Avoiding
very small calls to the database,
which ends up being very slow
I'm wondering. If we just delimit it to database transaction management, won't prepare statements help with this?