This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hello: I would like to utilize class table inheritance in my model. See the attached zip file containing my simple SQL example and screenshot of my generated LightSpeed model. I generated partial classes for my derived classes ( People, Locations, and Collections ) and annotated them with: Do I need to also add the inheritance in my partial class files? or will LightSpeed generate the code for this? |
|
|
I see on the Designer I can select one of my derived classes and select the Base Class as Object and entry in the associated Discriminator attribute and value. Once the inheritance association has been created is it wise to leave the OneToManyAssociation or OneToOneAssociation in place? |
|
|
I believe I have all the inheritance attributes and associations setup correctly in the designer to support ClassTableInheritance. Attached is a screenshot of the updated LightSpeed model. However, when executing a simple query: "ORA-06550: line 27, column 3: The SQL at the console is: BEGIN OPEN :cur1 FOR END; --> Time: 0 ms Executing the portion within the SELECT/WHERE in SQLPlus works fine. What is going on? |
|
|
Solved, wrong connection string was being used as a result of http://www.mindscape.co.nz/forums/Thread.aspx?ThreadID=3383 and couldn't see the table. Sorry for mess! |
|