Just to confirm the bug reported. I had the exact same bug happening. 99 entities and 99 mappedsuperclass.
I decided to remove the super class and combine them with the entity (total of 99 as opposed to 198) - just to test the theory that it is a problem with the mappedsuperclass. All the classes have the annotation in them - I don't use the orm.xml file. Then the Enhancement worked with openjpa 1.0.2. It only gives the OOME when I have the mappedsuper class as well. I hope this helps solving the problem. Frederic
