Re: Thoughts about JDO 2.1 Annotation

2007-01-16 Thread Ilan Kirsh
Hi Andy, 1. Using simple annotations instead of complex attributes For instance: @PrimaryKey instead of: @Field(primaryKey=true) (or simply @Id as in JPA). OK, but the other point of view is where we have a field that needs several attributes setting (e.g NullValue, Dependent, Primary

Re: Thoughts about JDO 2.1 Annotation

2007-01-16 Thread Andy Jefferson
Hi Ilan, > At least @PrimaryKey should be a separate annotation. Yes. Of course it already exists ... only it wasn't defined for Field/Method usage. > > I think that should be > > Class fieldType() void.class; > > because otherwise it becomes "required". > > > > Similarly PersistenceCapable.obj

Re: errors downloading dependencies

2007-01-16 Thread Craig L Russell
Hi Michael, Thanks for checking into this issue. I agree with the proposed changes. Regards, Craig On Jan 13, 2007, at 4:13 AM, Michael Bouschen wrote: Hi, the mirrors.apache.org repository does not provide the spring 2.0 jars. I found a workaround on the "Maven 1.x News"-page: use http:/

Re: Thoughts about JDO 2.1 Annotation

2007-01-16 Thread Andy Jefferson
> Same for @Serialized and @Dependent, @Index and @Unique > (mainly for collections, but maybe also for maps when keys and values > should share the same setting, or maybe @Serialized and @Dependent should > only cover map values and @Index and @Unique only map keys). @Serialized is a valid annota

[jira] Updated: (JDO-456) Add state transitions to Table 2 for detach and serialize; add tests to state transitions tests

2007-01-16 Thread Michelle Caisse (JIRA)
[ https://issues.apache.org/jira/browse/JDO-456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michelle Caisse updated JDO-456: Attachment: stateTransitionsUpdates.htm > Add state transitions to Table 2 for detach and serialize; a

[jira] Commented: (JDO-456) Add state transitions to Table 2 for detach and serialize; add tests to state transitions tests

2007-01-16 Thread Michelle Caisse (JIRA)
[ https://issues.apache.org/jira/browse/JDO-456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12465298 ] Michelle Caisse commented on JDO-456: - Attached stateTransitionsUpdates.htm shows the spec updates for detachCopy an

[jira] Created: (JDO-460) StateTransitions test fails on detachCopy operation

2007-01-16 Thread Michelle Caisse (JIRA)
StateTransitions test fails on detachCopy operation --- Key: JDO-460 URL: https://issues.apache.org/jira/browse/JDO-460 Project: JDO Issue Type: Bug Components: tck2 Repor

Re: Thoughts about JDO 2.1 Annotation

2007-01-16 Thread Ilan Kirsh
@Serialized is a valid annotation to add but not for what you're suggesting. It should serialise the whole field. If the field is not a container this makes no difference but it does for containers (maps/collections/arrays). If the field is a collection then the whole collection would be seriali