You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by rpalache <ra...@oracle.com> on 2009/07/15 22:36:57 UTC

Question on application Id.

Hi All,

Is an objectId created for applicationId always wrapped as a subclass of
openJPAId ?

Thanks,
Ravi.
-- 
View this message in context: http://n2.nabble.com/Question-on-application-Id.-tp3265656p3265656.html
Sent from the OpenJPA Developers mailing list archive at Nabble.com.

Re: Question on application Id.

Posted by Craig L Russell <Cr...@Sun.COM>.
I think the way this works is that OpenJPAId is a combination of the  
entity class and the object id. This is the way references inside  
OpenJPA are stored.

So I don't know if an application id (which is just a primitive or an  
application-defined composite) is *always* wrapped by OpenJPAId, but  
it is for all the cases I've been working with at the Broker- 
StoreManager layer.

Craig

On Jul 27, 2009, at 10:09 AM, Ravi P Palacherla wrote:

>
> Hi ,
>
> Can someone please help me with this.
>
> Thanks,
> Ravi.
>
>
> Ravi P Palacherla wrote:
>>
>> Hi All,
>>
>> Is an objectId created for applicationId always wrapped as a  
>> subclass of
>> openJPAId ?
>>
>> Thanks,
>> Ravi.
>>
>
> -- 
> View this message in context: http://n2.nabble.com/Question-on-application-Id.-tp3265656p3335121.html
> Sent from the OpenJPA Developers mailing list archive at Nabble.com.

Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
408 276-5638 mailto:Craig.Russell@sun.com
P.S. A good JDO? O, Gasp!


Re: Question on application Id.

Posted by Ravi P Palacherla <ra...@oracle.com>.
Hi ,

Can someone please help me with this.

Thanks,
Ravi.


Ravi P Palacherla wrote:
> 
> Hi All,
> 
> Is an objectId created for applicationId always wrapped as a subclass of
> openJPAId ?
> 
> Thanks,
> Ravi.
> 

-- 
View this message in context: http://n2.nabble.com/Question-on-application-Id.-tp3265656p3335121.html
Sent from the OpenJPA Developers mailing list archive at Nabble.com.