Commit Graph

456 Commits

Author SHA1 Message Date
dsyer
cbcf28c32c fix broken test on Linux by sleeping 2009-03-06 12:20:29 +00:00
dsyer
12d6613edd Temporary measure: comment out failed test 2009-03-06 08:43:28 +00:00
dsyer
23031bb2f6 Add comparator for sorting files by last modified date (useful for MultiResourceItemReader). 2009-03-06 08:37:03 +00:00
dsyer
24b77b6ddf Move unit tests from core to infrastructure 2009-03-03 17:25:02 +00:00
dsyer
f2f7a12eaa RESOLVED - issue BATCH-1109: Generalise PrefixMatching* to PatternMatching* 2009-03-03 17:11:49 +00:00
dsyer
7fd99c2344 RESOLVED - issue BATCH-1112: Remove cycle in infrastructure database/support (move support class up a level) 2009-03-03 14:26:23 +00:00
dsyer
9fa730100c OPEN - issue BATCH-1108: Add composite ItemWriter/Processor based on Classifier
Move test case over from core as well
2009-03-03 12:23:59 +00:00
dsyer
998f6f592e OPEN - issue BATCH-1108: Add composite ItemWriter/Processor based on Classifier
First draft of classifier features added.  Also refactored MethodInvoker abstraction into infrastructure.
2009-03-03 11:55:03 +00:00
dsyer
84c96bb769 RESOLVED - issue BATCH-935: Use NumberFormat when parsing real numbers 2009-02-28 14:01:02 +00:00
dsyer
6babb9b262 RESOLVED - issue BATCH-1106: SqlPagingQueryProviderFactoryBean ascending should default to true
Plus change PatternMatcher to match patterns instead of prefixes.
2009-02-27 22:41:22 +00:00
robokaso
fa2076594d RESOLVED - BATCH-1091: Add strict flag to file readers (flat and XML).
added strict flag - when true reader throws exception on open if input resource doesn't exist
2009-02-23 23:49:19 +00:00
dsyer
95bbf6d0f0 OPEN - issue BATCH-937: Make sure JobRepository can be proxied
Plus fix error with stax config in tiger profile
2009-02-23 15:19:05 +00:00
dhgarrette
b19b90be73 BATCH-1082: FlatFileItemReader.doClose() checks if the resource exists before trying to close it. 2009-02-16 22:03:32 +00:00
trisberg
0a29a8e0a3 BATCH-1083: renamed property parameterizedRowMapper to rowMapper now using type RowMapper instead of ParameterizedRowMapper 2009-02-16 16:34:25 +00:00
trisberg
46e67ab1cb BATCH-949: renamed mapper property to rowMapper 2009-02-16 14:22:16 +00:00
lucasward
ecbc2ba5f9 BATCH-851: Removed DrivingQueryItemReader and related classes. 2009-02-10 23:21:00 +00:00
dhgarrette
0d39705748 BATCH-1070: Added 'strict' property to BeanWrapperFieldSetMapper. 2009-02-10 03:23:01 +00:00
dhgarrette
02151edd2b BATCH-1033: Moved matchPrefix method to PatternMatcher class. Also modified matchPrefix to ensure that the most specific prefix wins. Changed Prefix*LineMapper to have Prefix*LineTokenizer as a property. 2009-01-28 19:09:00 +00:00
dhgarrette
505d8532f9 BATCH-1033: Updated to account for the possibility of a null key in the map 2009-01-28 05:19:31 +00:00
dhgarrette
18f7870ba2 BATCH-1033: Created PrefixMatchingCompositeLineMapper and reorganized PrefixMatchingCompositeLineTokenizer so that its lookup functionality could be reused. Also updated the multiRecordType sample by removing PrefixMatchingCompositeFieldSetMapper in favor of the new class. 2009-01-28 05:00:06 +00:00
dhgarrette
cf68753006 BATCH-1027: Created test class for PassThroughFieldExtractor 2009-01-27 19:50:47 +00:00
robokaso
c18dbda106 RESOLVED - BATCH-996: use default retryLimit == 1 (not 0) in *StepFactoryBean
change the default value, emphasize in javadoc 
update tests to JUnit4
2009-01-14 13:43:10 +00:00
robokaso
d574877255 RESOLVED - BATCH-994: BackOffPolicy is not applied for exceptions that cause rollback
backOff before deciding whether to rethrow
2009-01-13 16:27:42 +00:00
dsyer
b605682ea3 BATCH-818: Common* tests have to be Abstract* 2009-01-13 14:28:28 +00:00
dsyer
5195355ebc Move tmp file to target directory 2009-01-10 17:04:36 +00:00
dsyer
191c0d7cd7 RESOLVED - issue BATCH-986: Provide factory bean for SqlPagingQueryProvider
Removed duplicate class SimpleDelegatingPagingQueryProvider.
2009-01-10 15:29:44 +00:00
robokaso
0a92a7752b RESOLVED - BATCH-989: Add support for named queries on HibernateCursorItemReader
added setQueryName(..) as alternative to setQueryString(..)
2009-01-07 13:38:52 +00:00
robokaso
e692072862 RESOLVED - BATCH-988: MethodInvokingTaskletAdapter (via AbstractMethodInvokingDelegator) only allows specification of targetObject's declared methods
use getMethods() instead of getDeclaredMethods for validating target method exists
allow null argument values
2009-01-07 10:36:36 +00:00
robokaso
3f85b58dbb REOPENED - BATCH-970: JdbcCursorItemReader executes outside of main transaction
added non-recursive implementations of javax.sql.Wrapper methods to the ExtendedConnectionDataSourceProxy to keep both JDK 5 and 6 happy
2009-01-05 11:02:51 +00:00
trisberg
71ec0a602e BATCH-970: Added an ExtendedConnectionDataSourceProxy to be used with the JdbcCursorItemReader to allow the cursor and any other processing to share transactions. 2009-01-02 22:09:07 +00:00
dsyer
d3e81b5b4d Fix paging errors with descending keys 2009-01-02 16:03:11 +00:00
dsyer
aee5ca3b85 RESOLVED - issue BATCH-986: Provide factory bean for SqlPagingQueryProvider 2009-01-02 14:10:11 +00:00
dsyer
e4ca63a927 RESOLVED - issue BATCH-980: Add SystemPropertyInitializer 2008-12-30 09:23:27 +00:00
dsyer
c9d7b45f14 RESOLVED - issue BATCH-977: DefaultLineMapper should check for its required dependencies 2008-12-30 07:56:36 +00:00
dsyer
b23dad77f2 Add assertion to try and debug build failure 2008-12-18 11:06:20 +00:00
trisberg
2a1305358e BATCH-970: made the transaction participation configurable 2008-12-15 17:30:34 +00:00
trisberg
6d6f54beea BATCH-970: added call to DataSourceUtils to get connection for active transaction 2008-12-15 14:54:02 +00:00
robokaso
b8cfb8333a organize imports 2008-12-15 10:45:08 +00:00
robokaso
85f815b094 RESOLVED - BATCH-969: FlatFileItemWriters interference in CompositeItemWriter
configurable transactional buffer name in TransactionAwareBufferedWriter
sample showing correct usage of two file writers simultaneously
2008-12-15 10:19:36 +00:00
trisberg
fecae06ffa BATCH-965: cleanup 2008-12-11 23:39:52 +00:00
trisberg
b6d8bb7532 BATCH-958: cleanup 2008-12-11 23:38:47 +00:00
trisberg
d1ec2cfa9e BATCH-958: added an IbatisBatchItemWriter 2008-12-11 21:24:51 +00:00
trisberg
91a0df5ba7 BATCH-965: renamed batch writer to JdbcBatchItemWriter and added named parameter support, added JPA and Hibernate writers 2008-12-11 17:46:59 +00:00
robokaso
c795098827 RESOLVED - BATCH-963: ExecutionContext modifications in ItemStream.close(ExecutionContext) are not persisted
removed ExecutionContext argument from ItemStream.close() signature
2008-12-10 12:06:03 +00:00
trisberg
194e1ab737 BATCH-964: added fetchSize property 2008-12-09 22:19:56 +00:00
dsyer
c84981ec9b Remove cycles in fieldset references and paging queries 2008-12-07 19:43:39 +00:00
robokaso
9474d25b09 RESOLVED - BATCH-872: RFC: Should FileWriterCallback have two methods, one for headers and one for footers?
applied patch
2008-11-25 09:38:24 +00:00
robokaso
55dd2d5b69 findbugs fixes 2008-11-24 10:10:11 +00:00
robokaso
0bcf2e092c RESOLVED - BATCH-938: Clean up DelimitedLineAggregator implementation
applied patch
2008-11-24 09:20:22 +00:00
robokaso
df3a1204e6 OPEN - BATCH-932: Add reflection-based Field Extractor
applied patch with minor tweaks
2008-11-21 14:01:44 +00:00