About shared-table-sequence in repository definition file

728 views
Skip to first unread message

shyamala

unread,
Sep 22, 2010, 11:00:51 PM9/22/10
to ATG_Tech
Hi All,

In most of the repository definition files i came across shared-table-
sequence="1" or 2

<table name="subjects_tbl" type="multi" id-column-names="id"
multi-column-name="seq_num" shared-table-sequence="1"">
<property name="favoriteSubjects" column-names="subject" data-
type="array"
component-data-type="string"/>
</table>

what is the necessity of this attribute in the table definition as
well what will be the advantage by specifying multi-column-
name="sequence_num"


Need clarification on this...

Kindly help me in this!!

Thanks & Regards
Shyamala

shyamala vydyam

unread,
Sep 23, 2010, 12:40:48 AM9/23/10
to atg_...@googlegroups.com
Thanks pavithra!!!

Repository guide doesn't describes about these two attributes!!!

that is why i had send this query!!!

If u have any further more information kindly send me!!

Thanks & Regards
Shyamala


On Thu, Sep 23, 2010 at 8:43 AM, Pavithra Atrangada <sapient...@gmail.com> wrote:
Shared-table-sequence, will be used when you want many to many relationship.

sequence_num is basically for sorting.
 For more info refer repository manual.


Hope the help

Thanks & Regards
-------—-----------------
A K Pavithra
E-mail:patra...@sapient.com
Mobile:+571 239 3888


Sent from my iPhone
> --
> You received this message because you are subscribed to the Google Groups "ATG_Tech" group.
> To post to this group, send email to atg_...@googlegroups.com
> To unsubscribe from this group, send email to atg_tech-u...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/atg_tech?hl=en

--
You received this message because you are subscribed to the Google Groups "ATG_Tech" group.
To post to this group, send email to atg_...@googlegroups.com
To unsubscribe from this group, send email to atg_tech-u...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/atg_tech?hl=en

Nooruddin Shaik

unread,
Sep 23, 2010, 9:47:04 AM9/23/10
to atg_...@googlegroups.com
We use shared-table-sequence attribute when we share the same table with more than one item-descriptor.
This attribute is mainly useful in CA to maintain versioning for identifying the changes of specific item-descriptor.

The sequence_num is used in multi tables to denote the order in which the items needs to be sorted.
For example if you have a List multi property then when you access list  from the Java code it is sorted based on the sequence_num column.

I hope this is helpful.

Peace
Shaik

shyamala vydyam

unread,
Sep 24, 2010, 2:06:33 AM9/24/10
to atg_...@googlegroups.com
Thats Really more understanding!!

Thanks Shaik
Reply all
Reply to author
Forward
Message has been deleted
0 new messages