java-org.hibernate.exception.SQLGrammarException: could not execute query

问题描述

org.hibernate.exception.SQLGrammarException: could not execute query

大神们,看看这maven项目的异常,登陆成功之后,就显示json返回格式异常,query也不能查找了
:[DEBUG] 10:51:35[120906] [ http-5555-3] [000-] [] [AccessControlAdvice] com.wisetop.wtp.core.svc.ServiceException: 按id查找应用系统操作失
败,id
Caused by: org.springframework.dao.InvalidDataAccessResourceUsageException: could not execute query; SQL
Caused by: org.springframework.dao.InvalidDataAccessResourceUsageException: could not execute query; SQL
org.hibernate.exception.SQLGrammarException: could not execute query
Caused by: java.sql.SQLException: ORA-00904: "GROUPS1_"."FGROUP_ICON": 标识符无效
[DEBUG] 10:51:35[120908] [ http-5555-3] [000-] [] [AccessControlAdvice] com.wisetop.wtp.core.svc.ServiceException
[DEBUG] 10:51:35[120908] [ http-5555-3] [000-] [] [AccessControlAdvice] org.springframework.dao.InvalidDataAccessResourceUsageE
xception
[INFO] 10:51:35[120908] [ http-5555-3] [000-] [] [PhaseInterceptorChain] Application {http://facade.ssfwk.wtp.wisetop.com/}WtpA
pplicationFacade#{http://www.wisetop.com.cn}FindApplicationById has thrown exception, unwinding now: com.wisetop.wtp.core.wsexcept
ion.WtpServerException: 按id查找应用系统操作失败,id:

时间: 2024-10-12 03:34:26

java-org.hibernate.exception.SQLGrammarException: could not execute query的相关文章

org.hibernate.exception.SQLGrammarException: could not execute query

问题描述 StrutsProblemReportStrutshasdetectedanunhandledexception:Messages:ORA-00932:???????:??NUMBER,????BINARYcouldnotexecutequeryFile:oracle/jdbc/driver/SQLStateMapping.javaLinenumber:91-----------------------------------------------------------------

请教:org.hibernate.exception.SQLGrammarException: Could not execute JDBC batch ...

问题描述 org.hibernate.exception.SQLGrammarException:CouldnotexecuteJDBCbatchupdateatorg.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:67)atorg.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)atorg.hiber

ssh开发- org.hibernate.exception.SQLGrammarException: could not insert:

问题描述 org.hibernate.exception.SQLGrammarException: could not insert: 用的框架 Struts2+Hibernate3+Spring3 数据库为:SQLServer2005 环境是:Myeclipse8.5 服务器为:apache-tomcat-8.0.0-RC1 问题:在我尝试通过struts2 action向数据库插入数据是出现异常. 异常信息如下: Struts Problem Report Struts has detect

1对1主键关联, 使用jpa映射, 添加记录时报org.hibernate.exception.ConstraintViolationException

问题描述 实体代码:package entity;import javax.persistence.CascadeType;import javax.persistence.Entity;import javax.persistence.GeneratedValue;import javax.persistence.Id;import javax.persistence.OneToOne;import javax.persistence.PrimaryKeyJoinColumn;import j

sql语句就一条,求高手啊,could not execute query

问题描述 fromUserswhereusername=?andpassword=?org.hibernate.exception.SQLGrammarException:couldnotexecutequeryatorg.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:90)atorg.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptio

javax.servlet.ServletException: could not execute query 求教

问题描述 HTTPStatus500-typeExceptionreportmessagedescriptionTheserverencounteredaninternalerror()thatpreventeditfromfulfillingthisrequest.exceptionjavax.servlet.ServletException:couldnotexecutequeryorg.apache.struts2.dispatcher.Dispatcher.serviceAction(D

org.hibernate.exception.JDBCConnectionException: Cannot open connection

问题描述 org.hibernate.exception.JDBCConnectionException:Cannotopenconnectionorg.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:99)org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)org.hibernate.excepti

Java的Hibernate框架中的基本映射用法讲解_java

Hibernate进行了分类整合发现其实Hibernate分为三大部分:核心对象.映射.HQL,这三大部分开发过程中最常使用,前几篇讨论了核心对象及对象之间的转换方法,接下来讨论Hibernate的映射使用方法.   Hibernate一个重要的功能就是映射,它能够在对象模型和关系模型之间转换,是面向对象编程思想提倡使用的,使用映射程序开发人员只需要关心对象模型中代码的编写.对象和关系数据库之间的映射通常是由XML文档来定义的.这个映射文档被设计为易读的,并且可以手动修改.这种映射关系我总结为下

hibernate save-hibernate执行保存对象时出现异常:org.hibernate.exception.GenericJDBCException

问题描述 hibernate执行保存对象时出现异常:org.hibernate.exception.GenericJDBCException hibernate执行保存对象时出现异常:org.hibernate.exception.GenericJDBCException: could not insert: [com.hibernate.domain.User] Caused by: java.sql.SQLException: Field 'user_id' doesn't have a d