Announcement Announcement Module
No announcement yet.
spring documentation Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • spring documentation

    Dear all,

    As i go through the spring documentation (very well done and very clear by the way, thanks for the good job guys!) , i'd like to do some feedback.

    1) chapter 3.1.2 and 3.1.3
    the text and the data for chapter 3.1.3 and 3.1.2 say that schedule date (job parameter) is 2008-01-01 whereas the picture on chapter 3.1.2 shows a Job Parameter = 2007.05.05
    It's inconsistent.

    2) Chapter 6.7.1 dedicated to StaxEventItemReader.
    The fragmentRootElementName is said to be customer and this tag is well mapped to domain Object CustomerCredit.
    But in the configuration of the map, what's the need of binding properties name and price?

    <property name="aliases">
            <util:map id="aliases">
                <entry key="customer"
                       value="org.springframework.batch.sample.domain.CustomerCredit" />
                <entry key="price" value="java.math.BigDecimal" />
                <entry key="name" value="java.lang.String" />
    Property name doesn't appear in the XML fragment and property price is related to trade and not customer.