Re: [hibernate-dev] Problems with PreparedStatementSpyConnectionProvider

2017-09-10 Thread Vlad Mihalcea
Hi, The only time when I saw that class failing was for MariaDB because the Connection was final and we could not proxy it. That's when I switched to Mockito 2. However, the goal of that class is to allow it to run as a regular PS, but to proxy it so that any PS call invocation is recorded.

[hibernate-dev] Problems with PreparedStatementSpyConnectionProvider

2017-09-10 Thread Mark Rotteveel
I have run into a peculiar problem with PreparedStatementSpyConnectionProvider, the tests that use it fail for Firebird (and Jaybird 3) for reasons I don't understand. As far as I can tell from debugging, in tests that use this class, the statement misbehaves and instead of executing parts of