Re: [jira] Commented: (JDO-510) Remove @Field and @Property and replace them with @Per
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: [jira] Commented: (JDO-510) Remove @Field and @Property and replace them with @Per




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

    Re: [jira] Commented: (JDO-510) Remove @Field and @Property and replace them with @Per  
Andy Jefferson


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


 
07-27-07 12:11 AM

Hi Craig,

> The issue here is if both type and types are specified, which one
> wins? Since types can be both single or multiple types, I think
> there's less opportunity for error if there is only one element, and
> types does it. And it is evocative of the notion that even though you
> specified a type on your field/property (or not, for unadorned
> collection/map types), there are more constraints on the actual types
> that you can put into it.

No problem with just having the "types" element for me ... that's what I ha=
d=20
originally :-). What the user types
@Element(types=3DMyElement.class)
compared to the single form
@Element(type=3DMyElement.class)
is so similar I didn't see the point of the single form variant and, of=20
course, it also allows multiple values for implementations that support it.=
=20
Just want to avoid that option being included and then removed, and then ba=
ck=20
in again.

> Meantime, I'll check in the change from boundTypes to types to keep thing=
s=20
> moving.=20

Thx.=20
JPOX CVS now builds with latest Apache JDO jdo2-api.jar=20
(@Persistent,@Element,@Key,@Value "boundTypes" -> "types", and also=20
@Element,@Key,@Value "embedded" change). I've started the "nightly" build=20
running so there are jars if anyone wants to run with it.


=2D-=20
Andy =A0(Java Persistent Objects - http://www.jpox.org)






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 10:04 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