Announcement Announcement Module
Collapse
No announcement yet.
Transaction propagation Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Transaction propagation

    I am using spring and hibernate. I am working on a system that has a single (and very large) service class defined as a TransactionProxyFactoryBean. I want to create a number of smaller delegate classes that will perform some of the work of the main service class. These other classes will not be available for use by clients - only by the main service. My question is do I need to define these delegate classes as TransactionProxyFactoryBean's? Or does the fact that they are called by the main service class mean they are participating in the transaction managed by the main service class. I have the property PROPAGATION_REQUIRED defined on this service.

  • #2
    Originally posted by mark murray
    Or does the fact that they are called by the main service class mean they are participating in the transaction managed by the main service class.
    Yes. .

    Comment

    Working...
    X