http://jira.springframework.org/browse/BATCH-958
Type: Posts; User: benshory; Keyword(s):
http://jira.springframework.org/browse/BATCH-958
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...
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.
-...
could add value just the same as BatchSqlUpdateItemWriter does.
public class BatchIbatisUpdateItemWriter<T> implements ItemWriter<T>, InitializingBean {
...
public void...
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...
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...
it extends AbstractItemCountingItemStreamItemReader
currentItemCount is promoted only when the record is consumed
basically it's very simple and should something like this:
<bean id="itemReader" class="com.mycom.ri.batch.reader.IbatisBufferedItemReader">
<property name="sqlMapClient"...
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...
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...
sorry, only now i see that in my first post i did mention item reader,
my mistake. ment to ask about iBatis item writer..
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.
was a JIRA issue ever opened for the iBatis Item Reader?
is it planned to be supported?
Thanks,
I'm using 2.0.0.M2
is it available for this version?
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...
so is it a bug?
should I report it in jira?
for now i used as a workaround something like this:
public class MyBatchSqlUpdateItemWriter extends BatchSqlUpdateItemWriter {
private final long uid;
public...
Hi,
I'm trying to use CompositeItemWriter with 2 writers of type BatchSqlUpdateItemWriter.
When flushing, CompositeItemWriter delegates the flush to the two writers.
BatchSqlUpdateItemWriter...