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 12:59:11 GMT
On Thu, Jun 24, 2010 at 8:33 AM, C N Davies <cnd@cndavies.com> wrote:

> I have virtual entity that has nothing but getters, if you do it his way
> you
> can use JPQL referring to the virtual fields and let OpenJPA do the work
> for
> you.
>

So your virtual entity has no @Id? Or you are using a bogus property as the
id? Does "nothing but getters" imply read-only and JPA treats it
differently? I actually imagined not putting getters or setters in it.

-- 
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