Return-Path: Delivered-To: apmail-openjpa-users-archive@minotaur.apache.org Received: (qmail 18780 invoked from network); 24 Jun 2010 13:17:28 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 24 Jun 2010 13:17:28 -0000 Received: (qmail 73887 invoked by uid 500); 24 Jun 2010 13:17:28 -0000 Delivered-To: apmail-openjpa-users-archive@openjpa.apache.org Received: (qmail 73636 invoked by uid 500); 24 Jun 2010 13:17:25 -0000 Mailing-List: contact users-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@openjpa.apache.org Delivered-To: mailing list users@openjpa.apache.org Received: (qmail 73628 invoked by uid 99); 24 Jun 2010 13:17:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jun 2010 13:17:25 +0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [64.18.2.157] (HELO exprod7og102.obsmtp.com) (64.18.2.157) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 24 Jun 2010 13:17:18 +0000 Received: from source ([209.85.161.179]) by exprod7ob102.postini.com ([64.18.6.12]) with SMTP ID DSNKTCNayR0qymBGtKK2XcB//beH1VCUrx5S@postini.com; Thu, 24 Jun 2010 06:16:58 PDT Received: by mail-gx0-f179.google.com with SMTP id 4so1774741gxk.24 for ; Thu, 24 Jun 2010 06:16:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.221.142 with SMTP id ic14mr5177855qcb.207.1277385416623; Thu, 24 Jun 2010 06:16:56 -0700 (PDT) Received: by 10.229.62.2 with HTTP; Thu, 24 Jun 2010 06:16:56 -0700 (PDT) In-Reply-To: <015701cb139e$aac886a0$005993e0$@com> References: <015301cb1399$6d0a59b0$471f0d10$@com> <015701cb139e$aac886a0$005993e0$@com> Date: Thu, 24 Jun 2010 09:16:56 -0400 Message-ID: Subject: Re: Virtual Entity From: Daryl Stultz To: users@openjpa.apache.org Content-Type: multipart/alternative; boundary=0016362835faffe94f0489c677a9 --0016362835faffe94f0489c677a9 Content-Type: text/plain; charset=ISO-8859-1 On Thu, Jun 24, 2010 at 9:10 AM, C N Davies wrote: > Yes it does have an @id but I have a base entity that creates them > automagically (Base64 representation of the current system time), so it is > sort of like generated value type. My getters martial the data to the > virtual field is retuned in the structure I expect and I guess you could do > the same thing with setters if you wanted. > > That's interesting. I'll give it a shot with a bogus id column since I'm not planning to instantiate it. I'll get back to you if I change my mind. Thanks. -- Daryl Stultz _____________________________________ 6 Degrees Software and Consulting, Inc. http://www.6degrees.com http://www.opentempo.com mailto:daryl.stultz@opentempo.com --0016362835faffe94f0489c677a9--