Qs. What is "multi" table in ATG?
Ans. <table type"=multi"> is used in the item-descriptor definition of ATG Repositories.
type="multi" is used in case of one-to-many or many-to-many mapping.
For example, a "user" item can have multiple "address" items. This is a case of one-to-many mapping. The table which will map these two items will be referred to as "multi" table.
In other words, whenever there is a Collection (array,set,map etc.) of items represented by a property, the mapping table is defined as "multi" in the repository item-descriptor definition.
Asked By: Nvizion Solutions, Wipro, Sapient, HCL
Ans. <table type"=multi"> is used in the item-descriptor definition of ATG Repositories.
type="multi" is used in case of one-to-many or many-to-many mapping.
For example, a "user" item can have multiple "address" items. This is a case of one-to-many mapping. The table which will map these two items will be referred to as "multi" table.
In other words, whenever there is a Collection (array,set,map etc.) of items represented by a property, the mapping table is defined as "multi" in the repository item-descriptor definition.
Asked By: Nvizion Solutions, Wipro, Sapient, HCL
No comments:
Post a Comment