一张信息表 一张地址类(AreaCode) 信息类(TroubleshootCallLog)
private Long id;
private string comt;
private int areaID;
private AreaCode areaCode;
地址表
private int areaID;
private String areaName;
信息表
<property name="areaID" type="java.lang.Integer">
<column name="AREA_OCA" precision="22" scale="0" />
</property>
配置 <many-to-one name="areaCode" column="areaID" class="fs.model.AreaCode" cascade="all"/>
查询语句 from TroubleshootCallLog tc where 1=1
报错
ORA-00904: "TROUBLESHO0_"."AREAID": ?????
我是不是哪里配置错误了
------解决方案--------------------------------------------------------
好像不需要