Type for class designator column when using STI?

From: Jeff de Vries (jdevrie..frog.com)
Date: Fri May 26 2006 - 21:29:33 EDT

  • Next message: Borut Bolčin: "Re: Record counts..."

    Does it matter what data type the "class designator column" is when
    using STI? Are there any expectations on the values in the class
    designator column? For example, can you use an integer column, with 1
    meaning Employee, 2 meaning Manager, 3 meaning Customer, etc? Does
    Cayenne know what class to instantiate by looking at the qualifier
    expression?

    Thanks,
    Jeff de Vries



    This archive was generated by hypermail 2.0.0 : Fri May 26 2006 - 21:30:09 EDT