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

Gail Badner (JIRA) noreply at atlassian.com
Mon Jan 10 23:24:05 EST 2011


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-3984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gail Badner updated HHH-3984:
-----------------------------

    Priority: Minor  (was: Major)

> 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.0.Beta-1
>         Environment: Windows, MySQL 5, Java 1.6
>            Reporter: Tobias Bergman
>            Priority: Minor
>
> 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