Results 1 to 2 of 2

Thread: Spring batch metadata - transaction manager

  1. #1

    Default Spring batch metadata - transaction manager

    Hi,

    I am using org.springframework.jdbc.datasource.DataSourceTran sactionManager for
    configuring the transaction manager. And i set this reference to
    org.springframework.batch.core.repository.support. JobRepositoryFactoryBean
    repository factory bean.

    Is this correct? or should i use aop:config, tx:advice as mentioned in the
    following URL: http://static.springsource.org/sprin...x.html#d0e1786

    Kindly clarify.

    --venkat

  2. #2
    Join Date
    Jun 2005
    Posts
    4,241

    Default

    It says in the guide (at the link you pasted) "If the namespace or factory beans aren't used..." then use the aop:, tx: config (and only then< I suppose we could add). I guess you missed that?

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •