主题 : org.hibernate.hql.internal.ast.QuerySyntaxException: CmsSms is not mapped |
级别: 商业授权用户
|
1# 发表于:2018-05-02 22:15:46 IP:112.48.*.*
|
||||
---|---|---|---|---|---|
级别: 商业授权用户
|
3# 发表于:2018-05-03 08:44:42 IP:218.145.*.*
回复第2楼 这是昨天下午说的那个系统设置功能没法用的错误提示 我们看了下是cmsSms错误 就找了下 这个表的hibernate配置 发现都没问题 不知道怎么回事 配置如下
<?xml version="1.0"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd" > <hibernate-mapping package="com.jeecms.core.entity"> <class name="CmsSms" table="jc_sms" > <meta attribute="sync-DAO">false</meta> <cache usage="read-write"/> <id name="id" type="integer" column="id" > <generator class="identity"/> </id> <property name="name" column="name" type="string" length="255" not-null="true"></property> <property name="accessKeyId" column="access_key_id" type="string" length="255" not-null="true"></property> <property name="accessKeySecret" column="access_key_secret" type="string" length="255" not-null="true"></property> <property name="templateCode" column="template_code" type="string" length="255" not-null="false"></property> <property name="templateParam" column="template_param" type="string" length="255" not-null="false"></property> <property name="intervalTime" column="interval_time" type="integer" length="11" not-null="false"></property> <property name="intervalUnit" column="interval_unit" type="java.lang.Byte" length="2" not-null="false"></property> <property name="effectiveTime" column="effective_time" type="integer" length="11" not-null="false"></property> <property name="effectiveUnit" column="effective_unit" type="java.lang.Byte" length="2" not-null="false"></property> <property name="signName" column="sign_name" type="string" length="255" not-null="false"></property> <property name="smsUpExtendCode" column="sms_up_extend_code" type="string" length="255" not-null="false"></property> <property name="outId" column="out_id" type="string" length="255" not-null="false"></property> <property name="nationCode" column="nation_code" type="string" length="255" not-null="false"></property> <property name="endPoint" column="end_point" type="string" length="255" not-null="false"></property> <property name="invokeId" column="invoke_id" type="string" length="255" not-null="false"></property> <property name="source" column="sms_source" type="java.lang.Byte" length="2" not-null="false"></property> <property name="isCode" column="is_code" type="java.lang.Boolean" length="1" not-null="false"></property> <property name="createTime" column="create_time" type="timestamp" not-null="true" length="19"></property> <property name="randomNum" column="random_num" type="integer" not-null="false" length="11"></property> <set name="smsRecords" inverse="true" cascade="all"> <key column="sms_id"></key> <one-to-many class="com.jeecms.core.entity.CmsSmsRecord"/> </set> </class> </hibernate-mapping> |
||
---|---|---|---|
级别: 商业授权用户
|
5# 发表于:2018-05-03 08:48:27 IP:218.145.*.*
回复第4楼 没有二次开发 就是拿早期的2012sp2 升级到9.3
|
||
---|---|---|---|
级别: 商业授权用户
|
8# 发表于:2018-05-03 08:57:09 IP:218.145.*.*
您能把9.3oracle最终运行版的整体发行版工程给我么 我对照一下
|
||
---|---|---|---|