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
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
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:/
> 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
[
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
[
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
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
@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