Title: Castor Not support extends

In samples we can look Computer exdends Product. But, if you try get field of products by accessing to child Computer object nothing getting…

Extends affect only to identity and nothing else…

Is it extend? It's not extend - it's one to one relation.

Extends by my mind is:
Product {
  Id,
  Name,
  Price
}

Computer extend Product {
  Cpu
}

And this mean that Select c.name FROM Computer WHERE id = $1 are work propertly and
computer.setName("Artlantis");
computer.setPrice("$ 1200");
computer.setCPU("Pentium 4");
db.create(computer);

are work too.

Bye.

Alexey Efimov - Software Engineer
Sputnik Labs
1st Kolobovsky per., 6/3
Moscow, 103051, Russia
Phone: +7 (095) 725 5444
Direct: +7 (501) 401 3217
Fax: +7 (095) 725 5443
E-Mail: mailto:[EMAIL PROTECTED]
http://www.spklabs.com

Reply via email to