onPrepareStatement is called twice.
-----------------------------------
Key: HHH-3984
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-3984
Project: Hibernate Core
Issue Type: Bug
Affects Versions: 3.5
Environment: Windows, MySQL 5, Java 1.6
Reporter: Tobias Bergman
onPrepareStatement is called twice when batched.
First getSQL(sql) (which will call the interceptor) is called from prepareBatchStatement.
After the invokation the prepareBatchStatement() will call prepareStatement(sql) which
will also call getSQL().
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira