persistence@glassfish.java.net

Re: Non-entity class attributes

From: Sanjeeb Kumar Sahoo <Sanjeeb.Sahoo_at_Sun.COM>
Date: Fri, 25 Aug 2006 23:18:41 +0530

Yes, that's incorrect. What you said is true for Java *transient* field.

Thanks,
Sahoo
Trimble Daniel - dtrimb wrote:
> My understanding is that @Transient will cause them to not be serialized
> and passed to the client as well, is this incorrect?
>
> -----Original Message-----
> From: Sanjeeb.Sahoo_at_Sun.COM [mailto:Sanjeeb.Sahoo_at_Sun.COM]
> Sent: Friday, August 25, 2006 10:58 AM
> To: persistence_at_glassfish.dev.java.net
> Subject: Re: Non-entity class attributes
>
> Annotate them using @Transient.
>
> Thanks,
> Sahoo
> Trimble Daniel - dtrimb wrote:
>
>> Is there an annotation or other way of being able to put attributes in
>>
>
>
>> an entity class, but not be mapped to a column.? Jboss gives me a
>> cannot find column error.
>>
>>
>>
>> Daniel Trimble
>>
>>
>>
> ************************************************************************
> *
>
>> The information contained in this communication is confidential, is
>> intended only for the use of the recipient named above, and may be
>> legally privileged.
>>
>> If the reader of this message is not the intended recipient, you are
>> hereby notified that any dissemination, distribution or copying of
>>
> this
>
>> communication is strictly prohibited.
>>
>> If you have received this communication in error, please resend this
>> communication to the sender and delete the original message or any
>>
> copy
>
>> of it from your computer system.
>>
>> Thank you.
>>
>>
> ************************************************************************
> *
>
>>
>>