[hibernate-issues] [Hibernate-JIRA] Created: (HHH-3984) onPrepareStatement is called twice.

Tobias Bergman (JIRA) noreply at atlassian.com
Tue Jun 23 09:10:33 EDT 2009


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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list