On Tuesday 06 Nov 2007, Barry Beattie wrote:
> moving transactions further and further up the service layer is all
> very well but it's the different places where you want transactions
> run that's giving me grief.

Well that's the thing, isn't it :-)
Without nested transactions, you have to put them at the top level, which 
means every service method (unless you use AOP) has to care. That may or may 
not be a good thing, but programmers forget things.
Conceptually I'd like my manager1.get() to be one transaction, 
manager2.update() another, fileLogger.write() a third, with one 'update 
record' transaction around the lot - belt and braces defensive programming.

> still a pain. I'll certainly be having a few words with Ben Forta when
> he's on tour here in a couple of weeks...

It'd be interesting to see why it's not there in final, and if it's planed to 
go into a point update / patch roll up / updater.

-- 
Tom Chiverton
Helping to continuously expedite corporate ROI
on: http://thefalken.livejournal.com

****************************************************

This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office.  Any reference to a partner in 
relation to Halliwells LLP means a member of Halliwells LLP.  Regulated by The 
Solicitors Regulation Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CFCDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfcdev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to