The searchable component mapping prefix does not work with dynamic meta data. Change, for example, the test in annotations.test.component.prefix.deep1 and add the following to Address.java: @SearchableDynamicMetaData(name="dyn1", expression="return data.location", converter="groovy"). Add this assert to the test Deep1PrefixNoUnmarshall.java: assertEquals("firstHome", resource.getValue("first_home_dyn1"));
The test fails with the following message: "expected: <firstHome> but was: <null>"
When printing the resource to stdout, you'll see that it contains four fields named dyn1, containing the four different values.