Questions about inheritance attribute "new-table"
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache JDO Project > Questions about inheritance attribute "new-table"




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Questions about inheritance attribute "new-table"  
Michael Watzek


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-08-05 10:45 PM

Hi Craig,

I have a question about attribute "new-table" of orm element
"inheritance". The spec defines the following:

"The value “new-table” means that this class has its own table into
which by default all
of its fields are mapped. There might be a table attribute specified in
the class element. This
is the default for the topmost (least derived) class in an inheritance
hierarchy."

I'm not sure about the semantics of the table attribute in the class
element in case of "new-table":

- Does "new-table" mean that there must be a separate table that the
class is mapped to?

- Does "new-table" mean that only the declared fields are mapped to the
table that the class is mapped to?

- Does "new-table" mean that all fields are mapped to the table that the
class is mapped to?

- Does it make sence to specify "new-table" together with a
discriminator strategy? If yes, do all combinations ("class-name",
"value-map", "none") make sence?

Regards,
Michael
--
-------------------------------------------------------------------
Michael Watzek                  Tech@Spree Engineering GmbH
mailto:mwa.tech@spree.de        Buelowstr. 66
Tel.:  ++49/30/235 520 36       10783 Berlin - Germany
Fax.:  ++49/30/217 520 12       http://www.spree.de/
-------------------------------------------------------------------






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 02:20 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register