Announcement Announcement Module
Collapse
No announcement yet.
AbstractJobRepositoryFactoryBean, ItemWriter Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • AbstractJobRepositoryFactoryBean, ItemWriter

    #1.
    public AbstractJobRepositoryFactoryBean(){
    isolationLevelForCreate = "ISOLATION_SERIALIZABLE";
    }
    I got some error messages in oracle when i ran some jobs in parallel. (ORA-08177:can't serialize access for this transaction)
    Because isolation level for create is "serializable" as you know.
    I wanna know why you've let isolation level Serializable. Is there any policy or something to let this serializable?

    #2.
    Spring Batch 1.1.4
    ItemWriter#write(Object obj)

    Spring Batch 2.0.0
    ItemWriter#write(List<? extends T> items)


    I wanna know why SpringBatch 2.0.0 doesn't support ItemWriter#write(Object obj). There are too many problems with the change of 'write' method.

    Thank you.

  • #2
    #1: http://static.springframework.org/sp...b.html#d0e1800

    #2: it actually solves a lot of problems for most people. It is much more natural to write a list of items, since it allows you to control the performance optimisations like flushing and batch updates in a single method. What is the issue you are encountering?

    Comment

    Working...
    X