openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Takeshi Nishizawa (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OPENJPA-1974) StackOverflowError when performing multiple subquery in collection field with eager fetch
Date Mon, 04 Apr 2011 10:24:05 GMT

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

Takeshi Nishizawa updated OPENJPA-1974:
---------------------------------------

    Attachment: subQueryBug.zip

Attached a test case which reproduces the issue.


> 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
>         Environment: Windows, x86, JDK 1.6.0_22
>            Reporter: Takeshi Nishizawa
>         Attachments: 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