The repository documentation includes the following note about the id
attribute of the field-descriptor element:

    "The id attribute must contain a unique number identifying the
decriptor. The numbers for the attributes of a class must correspond to the
order of columns in the mapped table."

This second part about matching the order of the columns in the mapped table
seems a bit restrictive to me.  I wonder is this something that is required
only for certain OJB queries?  As a test I modified the id attributes in a
test table I am working on, such that the order did not match, and
everything still worked correctly.

The reason this is important to me is that I plan to create the repository
file automatically and cannot necessarily ensure that I assign id values
that correspond to the order of the columns in the table.

Any information is appreciated.

Gary Bartlett



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to