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

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