[hibernate-issues] [Hibernate-JIRA] Commented: (ANN-644) @ManyToMany appears to ALWAYS generate a left outer join SQL

Albert Gorski (JIRA) noreply at atlassian.com
Wed Oct 24 03:39:39 EDT 2007


    [ http://opensource.atlassian.com/projects/hibernate/browse/ANN-644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_28528 ] 

Albert Gorski commented on ANN-644:
-----------------------------------

Hi,
it is a problem which affects performace. I found too that even if you give parameter fetch=lazy then all child-entries are always given back.
Cheers,
Albert

> @ManyToMany appears to ALWAYS generate a left outer join SQL
> ------------------------------------------------------------
>
>                 Key: ANN-644
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-644
>             Project: Hibernate Annotations
>          Issue Type: Bug
>    Affects Versions: 3.3.0.ga
>            Reporter: Barry Davies
>            Priority: Minor
>         Attachments: files.zip
>
>
> A collection mapping created using the @ManyToMany JPA annotation appears to create a left outer join SQL regardless of whether the joinColumn or inverseJoinColumn are marked nullable or not.  This might be in error.  Emmanuel asked for a JIRA issue to be created, so here we are.  I have attached some files that can recreate what I believe to be the issue.  
> The forum topic where this was brought up is:
> http://forum.hibernate.org/viewtopic.php?t=977936

-- 
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