-
Dec 20th, 2011, 03:23 AM
#1
TransactionManager's question
Hi:
I used Spring Batch frameWork make a batch application.I have a question about it.
My batch Read 1000000 items from CSV file,and Write to DB.if there is a exception,rollback all.
set the commit-interval < 1000000:if hava a exception can't rollback all;
set the commit-interval >= 1000000:there is a outofmemoryError;
how can i do about transactionManager?
Thanks!
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