enable jdbc batch for text flow insert/update

To make it work:
- need to append &amp;rewriteBatchedStatements=true to mysql connection url
- need to change entity id generation strategy to Table
- need to add a few hibernate properties