Apache JDO Project - Spec review items Chapter 18

This is Interesting: Free IT Magazines  
Home > Archive > Apache JDO Project > February 2006 > Spec review items Chapter 18





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Spec review items Chapter 18
Craig L Russell

2006-02-19, 8:16 am

Craig L Russell

2006-02-19, 5:45 pm

Michael Bouschen

2006-02-19, 5:45 pm

Hi Craig,

sorry for not replying earier.

> Javadogs,
>
> I've made these changes to the final spec.
>
> Craig
>
> On Feb 15, 2006, at 11:37 AM, Craig L Russell wrote:
>
>

I read (column*|field*|property*) as: either a list of columns or a list
of fields or a list of properties. So you cannot have fields and
properties mixed. Did you intend to have a list of columns, followed by
a list of fields, followed by a list of properties:
<!ELEMENT foreign-key (extension*, column*, field*, property*,
extension*)>

The fetch-group element looks similar. Did you paln you change this too:
<!ELEMENT fetch-group (extension*, (fetch-group|field|property)*,
extension*)>

Regards Michael

>
>
> Same as 2 for unique as well.
>
>
> 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!
>
>



--
Michael Bouschen Tech@Spree Engineering GmbH
mailto:mbo.tech@spree.de http://www.tech.spree.de/
Tel.:++49/30/235 520-33 Buelowstr. 66
Fax.:++49/30/2175 2012 D-10783 Berlin


Craig L Russell

2006-02-20, 2:45 am

Michael Bouschen

2006-02-20, 5:45 pm

Hi Craig,

I agree, thanks for the clarification!

Regards Michael

> Hi Michael,
>
> On Feb 19, 2006, at 10:27 AM, Michael Bouschen wrote:
>
>
>
> Right. This defines a single foreign key constraint. I think it makes
> sense to have a constraint on a single reference, which means that a
> foreign key, index, or unique constraint should apply to a single set
> of columns, fields, or properties.
>
> In most cases a constraint will have either a column* or a single
> field or a single property. But we wanted to allow for example a
> unique constraint on the combination of order id and line number,
> which are two different fields.
>
>
>
> No.
>
>
>
> No, this is very different. There is a heterogeneous collection of
> nested fetch groups, fields, and properties associated with a fetch
> group, so this should be some number of fetch-group plus some fields
> and some properties in whatever combination. So (fetch-group|field|
> property)* seems right. There is no reason to make the fetch groups
> first, the fields second, and the properties third. Any order would
> work.
>
> Regards,
>
> 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!
>



--
Michael Bouschen Tech@Spree Engineering GmbH
mailto:mbo.tech@spree.de http://www.tech.spree.de/
Tel.:++49/30/235 520-33 Buelowstr. 66
Fax.:++49/30/2175 2012 D-10783 Berlin


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com