主题 : org.hibernate.hql.internal.ast.QuerySyntaxException: CmsSms is not mapped
级别: 商业授权用户
UID: 41753
积分:365 加为好友
威望: 9 精华: 0
主题:59 回复:232
注册时间:2012-12-08
在线时长:0
1#   发表于:2018-05-02 22:15:46  IP:112.48.*.*

Caused by: org.hibernate.hql.internal.ast.QuerySyntaxException: CmsSms is not mapped 
at org.hibernate.hql.internal.ast.util.SessionFactoryHelper.requireClassPersister(SessionFactoryHelper.java:189) 
at org.hibernate.hql.internal.ast.tree.FromElementFactory.addFromElement(FromElementFactory.java:109) 
at org.hibernate.hql.internal.ast.tree.FromClause.addFromElement(FromClause.java:95) 
at org.hibernate.hql.internal.ast.HqlSqlWalker.createFromElement(HqlSqlWalker.java:338) 
at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromElement(HqlSqlBaseWalker.java:3678) 
at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromElementList(HqlSqlBaseWalker.java:3567) 
at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromClause(HqlSqlBaseWalker.java:708) 
at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:564) 
at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:301) 
at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:249) 
at org.hibernate.hql.internal.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:278)
at org.hibernate.hql.internal.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:206) 
... 83 more

级别: 版主
UID: 121385
积分:34048 加为好友
威望: 0 精华: 0
主题:0 回复:32073
注册时间:2018-03-20
在线时长:0
2#   发表于:2018-05-03 08:38:27  IP:117.69.*.*
回复第1楼您是什么功能用不了?
世间没有一种具有真正价值的东西,可以不经过艰苦辛勤劳动而能够得到的。
级别: 商业授权用户
UID: 41753
积分:365 加为好友
威望: 9 精华: 0
主题:59 回复:232
注册时间:2012-12-08
在线时长:0
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>
级别: 版主
UID: 121385
积分:34048 加为好友
威望: 0 精华: 0
主题:0 回复:32073
注册时间:2018-03-20
在线时长:0
4#   发表于:2018-05-03 08:46:33  IP:117.69.*.*
回复第3楼您自己没做二次开发?
世间没有一种具有真正价值的东西,可以不经过艰苦辛勤劳动而能够得到的。
级别: 商业授权用户
UID: 41753
积分:365 加为好友
威望: 9 精华: 0
主题:59 回复:232
注册时间:2012-12-08
在线时长:0
5#   发表于:2018-05-03 08:48:27  IP:218.145.*.*
回复第4楼 没有二次开发 就是拿早期的2012sp2 升级到9.3
级别: 版主
UID: 121385
积分:34048 加为好友
威望: 0 精华: 0
主题:0 回复:32073
注册时间:2018-03-20
在线时长:0
6#   发表于:2018-05-03 08:54:24  IP:117.69.*.*
回复第5楼升级过程中没有错误吗?
世间没有一种具有真正价值的东西,可以不经过艰苦辛勤劳动而能够得到的。
级别: 商业授权用户
UID: 41753
积分:365 加为好友
威望: 9 精华: 0
主题:59 回复:232
注册时间:2012-12-08
在线时长:0
7#   发表于:2018-05-03 08:56:11  IP:218.145.*.*
没有提示错误 都是一步步拷贝了在develop里运行的 
级别: 商业授权用户
UID: 41753
积分:365 加为好友
威望: 9 精华: 0
主题:59 回复:232
注册时间:2012-12-08
在线时长:0
8#   发表于:2018-05-03 08:57:09  IP:218.145.*.*
您能把9.3oracle最终运行版的整体发行版工程给我么 我对照一下
级别: 版主
UID: 121385
积分:34048 加为好友
威望: 0 精华: 0
主题:0 回复:32073
注册时间:2018-03-20
在线时长:0
9#   发表于:2018-05-03 09:01:16  IP:117.69.*.*
回复第8楼您联系售前咨询下。
世间没有一种具有真正价值的东西,可以不经过艰苦辛勤劳动而能够得到的。
级别: 商业授权用户
UID: 41753
积分:365 加为好友
威望: 9 精华: 0
主题:59 回复:232
注册时间:2012-12-08
在线时长:0
10#   发表于:2018-05-03 09:05:04  IP:218.145.*.*
回复第9楼 这个是要付费的么 那就算了 还是麻烦您帮我看看吧
1 2 > >| 共2页