openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amy Yang (JIRA)" <j...@apache.org>
Subject [jira] Commented: (OPENJPA-536) getMetaData() causes OutOfMemoryError under some cases
Date Tue, 01 Apr 2008 03:18:24 GMT

    [ https://issues.apache.org/jira/browse/OPENJPA-536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12583982#action_12583982
] 

Amy Yang commented on OPENJPA-536:
----------------------------------

Thank you Albert.
I generated another patch which is the output of "svn diff openjpa-kernel\src\main\java\org\apache\openjpa\meta\MetaDataRepository.java".
Hope you can review it. 
And I executed "svn add" for test cases:
svn add openjpa-persistence-jdbc\src\test\java\org\apache\openjpa\meta\Person.java openjpa-persistence-jdbc\src\test\java\org\apache\openjpa\meta\Item.java
openjpa-persistence-jdbc\src\test\java\org\apache\openjpa\meta\Artist.java openjpa-persistence-jdbc\src\test\java\org\apache\openjpa\meta\TestGetMetaData.java
A         openjpa-persistence-jdbc\src\test\java\org\apache\openjpa\meta\Person.java
A         openjpa-persistence-jdbc\src\test\java\org\apache\openjpa\meta\Item.java
A         openjpa-persistence-jdbc\src\test\java\org\apache\openjpa\meta\Artist.java
A         openjpa-persistence-jdbc\src\test\java\org\apache\openjpa\meta\TestGetMetaData.java

Please correct me if anything is wrong.

> getMetaData() causes OutOfMemoryError under some cases
> ------------------------------------------------------
>
>                 Key: OPENJPA-536
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-536
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: jpa
>    Affects Versions: 1.0.2, 1.0.3
>         Environment: Sun JDK 5
>            Reporter: Amy Yang
>            Priority: Blocker
>         Attachments: 364202.patch, InheritanceComparator.diff, meta_testcase.zip, MetaDataRepository.diff
>
>
> There are 3 classes: Item, Artist and Person. Artist extends Person. 
> Invoking JPAFacadeHelper.getMetaData(emf, Item.class) will cause OutOfMemoryError thrown
by org.apache.openjpa.meta.MetaDataRepository.processBuffer().

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message