I'm using the following data-config.xml with DataImportHandler. I've
never used embedded entities before however I'm not seeing the comment
show up in the document... I'm not sure what's up.
<dataConfig>
<dataSource type="JdbcDataSource" name="ch"
driver="com.mysql.jdbc.Driver" url="jdbc:mysql://127.0.0.1:3306/ch"
batchSize="-1" user="ch" password="ch_on_this"/>
<document name="ch">
<entity name="applications" pk="id" dataSource="ch"
query="SELECT id, updated FROM applications limit 10">
<entity name="comment" dataSource="ch" query="SELECT comment
FROM ratings WHERE app = ${applications.id}">
<field name="comment" column="comment"/>
</entity>
</entity>
</document>
</dataConfig>