ConnectionProvider « Transaction « JPA Q&A

1. ConnectionProvider transaction problem

Hello! I am using custom ConnectionProvider in a multi-tenant application. The problem is that transactions on the connections provided by the ConnectionProvider implementation don't actually rollback though log shows that hibernate rollbacks them. I am using InnoDB tables so I can't find any reasons of this strange behaviour. Does someone have any experiance of implementing custom ConnectionProvider? Thanks in advance!