Announcement Announcement Module
Collapse
No announcement yet.
UserTransaction class in standalone app Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • UserTransaction class in standalone app

    Hello,

    I am building a spring batch stand alone application. This app communicates with multiple data bases so had to use JTA Transaction manager.
    Code:
    <bean id="transactionManager"  			class="org.springframework.transaction.jta.JtaTransactionManager">
    <property name="userTransaction">
            <bean class="??????"/>
        </property>
    however I am wondering what userTrancation class could be used in such circumstances.

  • #2
    If you want to set it is generally a UserTransaction retrieved from the app server. If you use some standalone provider I suggest you check the documentation of that provider.

    Comment

    Working...
    X