Search:

Type: Posts; User: benshory; Keyword(s):

Search: Search took 0.03 seconds.

  1. Replies
    14
    Views
    2,830

    http://jira.springframework.org/browse/BATCH-958

    http://jira.springframework.org/browse/BATCH-958
  2. Replies
    16
    Views
    3,588

    Thanks Thomas for taking it seriuosly. Could you...

    Thanks Thomas for taking it seriuosly.
    Could you elaborate on the disadvantages of the seperate thread.
    Why is it outside the managed transaction?
    What are the implications?
    And may I understand...
  3. Replies
    16
    Views
    3,588

    Thanks, I tried it. the new ibatis paging (M3)...

    Thanks, I tried it.
    the new ibatis paging (M3) did improve performance.
    here are some numbers for a rough comparison

    - ibatis old M2 paging (pagesize=10,000):
    finished in - 48126 ms.

    -...
  4. Replies
    14
    Views
    2,830

    could add value just the same as...

    could add value just the same as BatchSqlUpdateItemWriter does.



    public class BatchIbatisUpdateItemWriter<T> implements ItemWriter<T>, InitializingBean {

    ...

    public void...
  5. Replies
    16
    Views
    3,588

    AFAIK with queryForList the query get executed...

    AFAIK with queryForList the query get executed for each page so it depends
    on the statement's complexity.

    the 'asynch buffered' implementation is more like using an open cursor.

    BTW does the...
  6. Replies
    16
    Views
    3,588

    sorry for the vague descrition, and thanks for...

    sorry for the vague descrition, and thanks for your help.
    I'm using 2.0.0M2
    in the method doOpen/executeQuery
    a new thread runs and starts filling the buffer.
    every call to doRead takes an item...
  7. Replies
    16
    Views
    3,588

    it extends...

    it extends AbstractItemCountingItemStreamItemReader
    currentItemCount is promoted only when the record is consumed
  8. Replies
    16
    Views
    3,588

    basically it's very simple and should something...

    basically it's very simple and should something like this:

    <bean id="itemReader" class="com.mycom.ri.batch.reader.IbatisBufferedItemReader">
    <property name="sqlMapClient"...
  9. Replies
    16
    Views
    3,588

    tested against DB2 and SQLServer (since i'm...

    tested against DB2 and SQLServer
    (since i'm porting a as400 stored-procedure application to java+sqlserver)
    the configuration is very complicated since it is the actual app
    i did these test by...
  10. Replies
    16
    Views
    3,588

    asynch buffered reader

    i've implemented an asynch buffered reader
    which gave me a great performance boost.
    i would like to share it and would appreciate any comments.



    public abstract class...
  11. Replies
    14
    Views
    2,830

    sorry, only now i see that in my first post i did...

    sorry, only now i see that in my first post i did mention item reader,
    my mistake. ment to ask about iBatis item writer..
  12. Replies
    14
    Views
    2,830

    Thanks, ofcourse i saw these classes but i was...

    Thanks,
    ofcourse i saw these classes but i was asking about the writer.
    i think something like cuizuoli suggested might be useful since it's leveraging
    iBatis' batch capabilities.
  13. Replies
    14
    Views
    2,830

    was a JIRA issue ever opened for the iBatis Item...

    was a JIRA issue ever opened for the iBatis Item Reader?
    is it planned to be supported?
  14. Replies
    3
    Views
    1,708

    Thanks, I'm using 2.0.0.M2 is it available for...

    Thanks,
    I'm using 2.0.0.M2
    is it available for this version?
  15. Replies
    3
    Views
    1,708

    Batch annotations kickstart

    Hi,
    I'm doing a POC for migrating a complicated legacy stored procedure based batch application to spring batch.
    so far so good, after some benchmarking.
    But a show stopper could be the ease of...
  16. bug?

    so is it a bug?
    should I report it in jira?
  17. workaround

    for now i used as a workaround something like this:


    public class MyBatchSqlUpdateItemWriter extends BatchSqlUpdateItemWriter {

    private final long uid;

    public...
  18. CompositeItemWriter and BatchSqlUpdateItemWriter

    Hi,
    I'm trying to use CompositeItemWriter with 2 writers of type BatchSqlUpdateItemWriter.
    When flushing, CompositeItemWriter delegates the flush to the two writers.
    BatchSqlUpdateItemWriter...
Results 1 to 18 of 19