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

  • Configuring ProxyFactoryBean for transactions

    I need to wrap an existing BO which uses TFB for transaction management
    with an around advice. You mention that ProxyFactoryBean should
    be used instead in more complex scenrios.

    Is there an example of how to configure ProxyFactoryBean to do the hibernate transaction stuff?

  • #2
    You can use TransactionProxyFactoryBean as long as your services / dao are singletons. If you need to use ProxyFactoryBean, you may review this document: Spring AOP with Hibernate.

    HTH

    Comment

    Working...
    X