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

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


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-3984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=33456#action_33456 ] 

Tobias Bergman commented on HHH-3984:
-------------------------------------

Methods found in AbstractBatcher.

> 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