DATACMNS-514 - Fixed typo in RepositoryPopulator examples.
The property "location" should actually be "locations" since this attribute is read by org.springframework.data.repository.config.ResourceReaderRepositoryPopulatorBeanDefinitionParser.doParse(Element, BeanDefinitionBuilder).
This commit is contained in:
@@ -1259,7 +1259,7 @@ class PersonController {
|
||||
http://www.springframework.org/schema/data/repository
|
||||
http://www.springframework.org/schema/data/repository/spring-repository.xsd">
|
||||
|
||||
<repository:jackson-populator location="classpath:data.json" />
|
||||
<repository:jackson-populator locations="classpath:data.json" />
|
||||
|
||||
</beans></programlisting>
|
||||
</example>
|
||||
@@ -1296,7 +1296,7 @@ processing.-->The type to which the JSON object will be unmarshalled to will
|
||||
http://www.springframework.org/schema/oxm
|
||||
http://www.springframework.org/schema/oxm/spring-oxm.xsd">
|
||||
|
||||
<repository:unmarshaller-populator location="classpath:data.json" unmarshaller-ref="unmarshaller" />
|
||||
<repository:unmarshaller-populator locations="classpath:data.json" unmarshaller-ref="unmarshaller" />
|
||||
|
||||
<oxm:jaxb2-marshaller contextPath="com.acme" />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user