I wrote an interceptor to intercept some queries for an application running Hibernate 2. Unfortunately, the application uses prepared statements in certain classes. However, Hibernate 2's interceptor doesn't provide the onPrepareStatement that Hibernate 3's interceptor does.
Is there a way for me to be able to intercept these prepared statements as well? Rewriting the application to not make use of prepared statements or altering the code in any other way is not possible, as well as migrating to Hibernate 3...
|