I have the following tables:

---Hierarchy 1: Table per subclass without discriminator---
T1,T2,T3 

T1
PK-Identity

T2
PK- is FK from T1

T3
PK- is FK from T1
---END: Hierarchy 1---

---Hierarchy 2: Table per hierarchy---
T3

T3
PK- is FK from T1
is_simple, type = bit. (not mentioned in Hierarchy 1 - but same table, just 
trying to only mention the essential fields per context)
---END: Hierarchy 2---

CFCs:
c1 table=t1
c2 extends=c1, table=t2, joincolumn=t2.pk
c3 extends=c1, table=t3, joincolumn=t3.pk, discriminatorColumn=is_simple
c4 extends=c3, table=t3, discriminatorValue=1

I get know errors when C1,C2,C3 exists only.

But when I put c4 in my cfc location, and try to re-load the app I get:
No discriminator found for C4. Discriminator is needed when 
'single-table-per-hierarchy' is used and a class has subclasses.

Anyone have any idea where Im going wrong here? 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328497
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to