Type Parameters in Cuba

Suppose I have entities SuperClassLine, SuperClass, SubClass1, SubClass2, SubClass3. The SuperClassLine has two attributes, a SuperClass and quantity (similar to the OrderLine example). What I am trying to do is specify a type parameter for the SuperClassLine (i.e. SuperClassLine). Is this even possible in Cuba? Looking through the docs I didn’t see anything that pointed me in the right direction.


are you talking about a mapped superclass, or a regular superclass with single table inheritance?


I think it should work if SuperClassLine is a MappedSuperclass. However, you may problems opening such parameterized entities in Studio - we never tested it. If so, please report.