openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Curtis (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (OPENJPA-1974) StackOverflowError when performing multiple subquery in collection field with eager fetch
Date Tue, 05 Apr 2011 16:41:05 GMT

     [ https://issues.apache.org/jira/browse/OPENJPA-1974?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rick Curtis resolved OPENJPA-1974.
----------------------------------

    Resolution: Fixed

Thanks for reporting the bug and uploading a testcase.

> StackOverflowError when performing multiple subquery in collection field with eager fetch
> -----------------------------------------------------------------------------------------
>
>                 Key: OPENJPA-1974
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1974
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: jdbc
>    Affects Versions: 2.1.0, 2.2.0
>         Environment: Windows, x86, JDK 1.6.0_22
>            Reporter: Takeshi Nishizawa
>            Assignee: Rick Curtis
>             Fix For: 2.2.0
>
>         Attachments: OPENJPA-1974.trunk.patch, subQueryBug.zip
>
>
> When I run a JPQL with multiple subquery in @OneToMany annotated collection property
with eager fetch configuration, StackOverflowError is thrown.
> java.lang.StackOverflowError
> 	at org.apache.openjpa.jdbc.sql.SelectImpl.aliasSize(SelectImpl.java:2166)
> 	at org.apache.openjpa.jdbc.sql.SelectImpl.aliasSize(SelectImpl.java:2160)
> 	at org.apache.openjpa.jdbc.sql.SelectImpl.aliasSize(SelectImpl.java:2168)
> 	at org.apache.openjpa.jdbc.sql.SelectImpl.aliasSize(SelectImpl.java:2160)
> 	at org.apache.openjpa.jdbc.sql.SelectImpl.aliasSize(SelectImpl.java:2168)
> 	at org.apache.openjpa.jdbc.sql.SelectImpl.aliasSize(SelectImpl.java:2160)
> 	at org.apache.openjpa.jdbc.sql.SelectImpl.aliasSize(SelectImpl.java:2168)
>         ...

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message