You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Donald Woods (JIRA)" <ji...@apache.org> on 2010/03/09 16:02:27 UTC
[jira] Updated: (OPENJPA-1154) use of getFetchPlan().setMaxDepth(x)
puts DISTINCT in the SQL
[ https://issues.apache.org/jira/browse/OPENJPA-1154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Donald Woods updated OPENJPA-1154:
----------------------------------
Fix Version/s: (was: 2.0.0)
> use of getFetchPlan().setMaxDepth(x) puts DISTINCT in the SQL
> -------------------------------------------------------------
>
> Key: OPENJPA-1154
> URL: https://issues.apache.org/jira/browse/OPENJPA-1154
> Project: OpenJPA
> Issue Type: Bug
> Components: sql
> Affects Versions: 1.2.0, 1.2.1, 1.2.2, 2.0.0
> Environment: DB2 and Windows
> Reporter: B.J. Reed
> Priority: Minor
> Attachments: TestFetchPlanDepth.java
>
>
> Use of q.getFetchPlan().setMaxFetchDepth(x); // x is any depth
> will always add DISTINCT to the generated SQL. Seems like the DISTINCT shouldn't be added.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.