Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <dataConfig>
- <dataSource type="JdbcDataSource" driver="org.mariadb.jdbc.Driver" url="jdbc:mariadb://localhost:3306/chilipeppers" user="user" password="user"/>
- <document>
- <entity name="table1" pk="id" query="select jsonfield1, jsonfield2 from table1">
- <field column="id" name="id" />
- <field column="jsonfield1" name="jsonfield1" />
- <field column="jsonfield2" name="jsonfield2"/>
- </entity>
- </document>
- </dataConfig>
Add Comment
Please, Sign In to add comment