-
Jul 2nd, 2009, 11:05 AM
#1
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
-
Jul 4th, 2009, 10:37 AM
#2
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
-
Forum Rules