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

  • TransactionProxyFactoryBean

    is it possible for 2 beans set the value of the class to org.springframework.transaction.interceptor.Transa ctionProxyFactoryBean in the application-context file?

    is my question strange?

  • #2
    Can you try and explain what you are trying to do in more detail?

    Comment


    • #3
      Actually, now I have a project, the service part is to synchonize the data of the attachment that is in xml format. So, I need to unmarshal the attachment to get the data and then through hibernate to update the data in the database.

      so I try to write the DAO class (facade interface for get and insert....) and service interface (Synchonize the attachemnt), and the write the facadeImpl which can access both dao and service.

      I just saw the sample, usually the service part is just directly update or insert the data in the database, i.e. only access the dao, so the TransactionProxyFactoryBean class is set to the facade interface is easy to understand.

      but if the facadeImpl is implemented with the service part, how should I do the setting.

      Actually, I'm still not sure it is possible to do or not.

      Comment

      Working...
      X