0 Replies Latest reply on Apr 8, 2008 2:32 PM by Samik Bhattacharya

    Override Inheritance Strategy

    Samik Bhattacharya Newbie

      I have a requirement wherein I need to override the inheritance Strategy within the same class hierarchy.
      A is base class
      B & C inherit A
      B1 & B2 inherit B

      I need to use a single table for B,B1 and B2 but different tables for A, B and C. Is there a method by which I can do this.

      I tried overriding the strategy in B and use PostGres as My backend. I still get different tables for all the classes in the hierarchy since I used InheritanceType.TABLE_PER_CLASS for class A.