-
Notifications
You must be signed in to change notification settings - Fork 248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BATCH-2041: Add support for reading excel files #2
Conversation
|
||
<groupId>org.springframewor.batch</groupId> | ||
<artifactId>spring-batch-excel</artifactId> | ||
<version>1.3.0.BUILD-SNAPSHOT</version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be 0.5.0.BUILD-SNAPSHOT or something along those lines. Since we don't have a release yet, it shouldn't be above 1.0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. Initially left the versions we used internally, now it is a 0.5.0.BUILD-SNAPSHOT.
Overall, this looks like a solid start. Beyond the line specific comments above, some more general comments:
|
JUnit 4.12 Mockito 1.10.19 Fixed scope of Spring-test dependency
Removed the doCloseWorkbook method in favor of the normal doClose method. The PoiItemReader now closes the InputStream and Workbook (for Apache POI >= 3.11)
Fixed typo
Use the BeanWrapper to bind values to beans. Based on the BeanWrapperFieldSetMapper.
Will this be merged any time soon? What is the current status of this? |
Unless you have any objections, I'm going to merge this with one small update which is to update the |
No, I don't have any. I am using this already as a clone from https://github.com/mdeinum/spring-batch-extensions. While using it I found one or two things that could be improved (like being able to specify just one sheet in an excel file). But I think this could also be done, when it is integrated into this repo. |
@mdeinum: I don't have the code yet (I just deleted all the other sheets from the excel file). I will create an enhancement issue and mabye I can also provide a pull request later on. However before creating the issue in this repo I guess the code should be here first. |
@dusiema If you have the enhancements you can create 1 or 2 pull requests to my repo. I'll merge them and then they should show up here also. |
@mdeinum I already thought about that. Need to get back to my computer at work. I'll try to do it tomorrow. |
Hey guys, I'm at a conference through tomorrow. I plan on merging this Friday. |
Merged. Thanks for all the hard work! |
Great... Thanks for merging it. I'll try to write a blog post in the next couple of days. |
This commit adds support for reading Excel files. Both JExcel and Apache POI are supported. Support for reading Excel files has been designed similar to the support for reading flat files.
I have signed and agree to the terms of the SpringSource Individual Contributor License Agreement.