db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ilan Kirsh <ki...@objectdb.com>
Subject Re: JDO2 annotations : split between JDO and ORM
Date Sun, 15 Oct 2006 17:57:24 GMT
>> indexed and unique are certainly being used - also in Element, Key
>> and Value. I do not use deleteAction, sequence and valueStrategy
>> yet, but I think that it might make sense to use them in the future.
>
> OK.
> The point that this raises is that my understanding of the "split" JDO-ORM
> was
> to separate the ORM part out (by ORM I mean the part that can be specified
> in
> the ORM metadata file) since it best practice to restrict schema-info to
> MetaData (and not have it in annotations). So we would then have 2 sets of
> annotations ... some as JDO and some as ORM. I didn't understand this as
> separating out purely RDBMS-specific concepts that cant be used elsewhere.
> If
> we go down that route, what do XML datastores use ? Or LDAP ?
>
> e.g specifying an index name, is specifying something specific to the
> datastore in use (which may not be usable in other datastores).
>
> Comments ?
>
> -- 
> Andy

The question is whether this separation is really needed at all.
It might make sense to separate XML files but annotations,
when used, will be side by side ragardless of any separation.
In my opinion annotation separation is not really needed but
maybe I missed the point.

Ilan



Mime
View raw message