JPA persistence binding

Please review.
Included are libs for PostgreSQL, Apache Derby and MySQL.
Tested on PostgreSQL and Apache Derby. Working OK on my production system.

please merge into one log statement using the '{}' notation like logger.error("Error on converting state value to string: {}", e1.getMessage());