reset password
Author Message
trivedidr
Posts: 54
Posted 10:24 Oct 21, 2009 |

Hello,

Is it necessary that we have to do mapping for onlineassignment class in assignmnet mapping just like in survey , mapping of "Question"?

Thank you.

cysun
Posts: 2935
Posted 10:44 Oct 21, 2009 |
trivedidr wrote:

Hello,

Is it necessary that we have to do mapping for onlineassignment class in assignmnet mapping just like in survey , mapping of "Question"?

Thank you.

It depends on how you want to map OnlineAssignment. If you want to map it using <subclass>, <union-subclass>, or <join-subclass>, then yes. You can also map it as a separate class, in which case it'll have its own mapping file.

trivedidr
Posts: 54
Posted 10:49 Oct 21, 2009 |
cysun wrote:
trivedidr wrote:

Hello,

Is it necessary that we have to do mapping for onlineassignment class in assignmnet mapping just like in survey , mapping of "Question"?

Thank you.

Thank you, Dr.Sun !!! Smile

Also, I have one question about mapping for sub class.

Which kind of mapping give good perfomance?

eg. if I do mapping as <subclass>, <union-subclass>, or <join-subclass> or in new mapping file as new ?

It depends on how you want to map OnlineAssignment. If you want to map it using <subclass>, <union-subclass>, or <join-subclass>, then yes. You can also map it as a separate class, in which case it'll have its own mapping file.

 

cysun
Posts: 2935
Posted 10:59 Oct 21, 2009 |

Table Per Hierarchy usually gives the best performance.