You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@openjpa.apache.org by Laird Nelson <lj...@gmail.com> on 2009/10/05 18:19:08 UTC

ReverseCustomizer question

Is it possible to have a ReverseCustomizer generate two classes?

Specifically, for my day job this time, I'm required to generate a
@MappedSuperclass and an empty JPA entity skeleton that extends it.  I would
love it if we could make use of an existing tool--like OpenJPA's
ReverseMappingTool--to do this for us.  But I don't see an easy way for the
ReverseCustomizer to indicate that it's going to generate a MappedSuperclass
and an Entity class as part of the same table-to-Java operation.

Any help is appreciated.

Best,
Laird