On Mon, Nov 2, 2009 at 1:45 AM, Pinaki Poddar [via OpenJPA] < [email protected]<ml-node%[email protected]> > wrote:
> Hi Laird, > Which version of OpenJPA you are on? > Why I ask is if you are on trunk, then MappedSuperclass is represented in > ClassMetaData.setAbstract(). > ReverseCustomizer should set ClassMetaData.setAbstract(true) and annotation > builder getEntityType() requires to check isAbstract() to return > MappedSuperclass. > Hi; no, unfortunately I'm on *almost* the bleeding edge, but not quite: 1.3.0-SNAPSHOT. I found a way to do it involving a combination of setEmbeddedOnly(true) and various calls to syncMappingInfo (otherwise the fields get left off). Thanks for the tip though; hopefully we'll move to 2.0 soon. Best, Laird -- View this message in context: http://n2.nabble.com/ReverseMappingTool-easiest-way-to-produce-MappedSuperclasses-tp3879078p3931785.html Sent from the OpenJPA Users mailing list archive at Nabble.com.
