Using a conversation-per-form pattern I saw that a transaction is
opened when the form creates the Conversation object and (the
Transaction) committed when the form dispose (disposing the
Conversation object too).
This way the Transaction remains opened during the form lifetime.
This is not desiderable (from my point of view).
I think it would be better that a Transaction object lifetime would be
equal than the ConversationalScope object lifetime (not Conversation
object lifetime).
That is;
The ConversationalScope object create a Transaction, and disposing the
ConversationalScope object the transaction is committed or rollbacked
(and disposed).

I have modified the ActiveRecord source code (my copy) to obtain this
behaviuor and seems to be ok.

Any thoughts about this approach?

Thanks
-Alessandro

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" 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/castle-project-users?hl=en.

Reply via email to