Re: Embedding fields of non-persistent types even when field-type is
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache JDO Project > Re: Embedding fields of non-persistent types even when field-type is




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Re: Embedding fields of non-persistent types even when field-type is  
Michelle Caisse


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-28-07 12:11 AM

I think that this is just an issue with the declarations in the classes.
In the PI classes, the address fields were declared as I*, whereas I
think we really wanted them to be PI*. With this change, the address
fields are instances of persistent interfaces, and there should be no
problem

-- Michelle

Craig L Russell wrote:

>
> On Jul 27, 2007, at 10:03 AM, Michelle Caisse wrote:
> 
>
>
> This is an issue. Is JPOX able to fix this? The alternatives are not
> pretty, since we use both persistent classes and persistent
> interfaces in the model. The setAddress(IAddress) methods need to be
> implementable by both the persistence provider and the tck code.
>
> Any ideas?
>
> Craig
>
> Craig Russell
> Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
> 408 276-5638 mailto:Craig.Russell@sun.com
> P.S. A good JDO? O, Gasp!
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 10:01 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register