Connection reusing

1 Depending hibernate-jpa-2.1-api instead of persistence-api;
2 Reusing connections;
3 Throwing an exception if failed to update.