ORA-017实体框架中的错误

时间:2013-06-25 07:03:24

标签: oracle entity-framework-4

我有两个表(超类型和子类型)

SUperType:SWHEADER和Subtype = SW799 enter image description here

enter image description here

现在在EF: enter image description here

和我的DTO:

parnet: enter image description here

子: enter image description here

插入时没有任何问题,但是当get(select)确认错误时:ORA-01790:expression必须与对应的表达式具有相同的数据类型

tanx很多。

1 个答案:

答案 0 :(得分:1)

您不能在联合中使用长数据类型,实体框架提供程序生成的sql使用联合进行继承和多个包含

Oracle Union Restrictions