openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daryl Stultz <daryl.stu...@opentempo.com>
Subject Re: Virtual Entity
Date Thu, 24 Jun 2010 17:59:18 GMT
On Thu, Jun 24, 2010 at 1:45 PM, Matthew Adams <matthew@matthewadams.me>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.

Thanks.

-- 
Daryl Stultz
_____________________________________
6 Degrees Software and Consulting, Inc.
http://www.6degrees.com
http://www.opentempo.com
mailto:daryl.stultz@opentempo.com

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