openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daryl Stultz <>
Subject Re: Virtual Entity
Date Thu, 24 Jun 2010 17:59:18 GMT
On Thu, Jun 24, 2010 at 1:45 PM, Matthew Adams <>wrote:

> Instead of a virtual entity, you could create the view and tell
> OpenJPA about the view via @JoinTable annotations...

I think what you are saying is that A would have a field for E and the view
would be the join "table". That could be useful but in this case I might
consider it "dirtying" my model. I'd rather have an unused "virtual entity"
than dirty my core model. I'll consider that idea in the future though, it
looks handy.


Daryl Stultz
6 Degrees Software and Consulting, Inc.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message