AFAIK there is no other way. In the latest release JDBC connection provider API is added but it also needs some code modification. BTW, if there would be a hook API then code changes need to be added too, right?
Disclaimer: Use it at your own risk. Any and all responsibility for any loss, damage or destruction
of data or any other property which may arise from relying on this email's technical content is explicitly disclaimed.
The author will in no case be liable for any monetary damages arising from such
loss, damage or destruction.