Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <dataConfig>
- <dataSource type="JdbcDataSource"
- driver="com.mysql.jdbc.Driver"
- url="jdbc:mysql://127.0.0.1/dbname"
- user="root"
- password="pass"/>
- <document name="page">
- <entity name="entries" query="SELECT id,title from entries">
- <field column="id" name="id" />
- <field column="title" name="name"/>
- </entity>
- </document>
- </dataConfig>
Add Comment
Please, Sign In to add comment