e Hibernate 访问 空间mysql数据库报错,高手帮看看

Sgl2880 2011-09-02 12:04:08
org.springframework.dao.InvalidDataAccessResourceUsageException: could not execute query; nested exception is org.hibernate.exception.SQLGrammarException: could not execute query

org.hibernate.exception.SQLGrammarException: could not execute query
java.sql.SQLException: Table 's223495.NewsTable' doesn't exist

org.springframework.dao.DataAccessResourceFailureException: could not execute query; nested exception is org.hibernate.exception.JDBCConnectionException: could not execute query
org.hibernate.exception.JDBCConnectionException: could not execute query


com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception:

** BEGIN NESTED EXCEPTION **

java.net.SocketException
MESSAGE: Software caused connection abort: socket write error

STACKTRACE:

java.net.SocketException: Software caused connection abort: socket write error



** END NESTED EXCEPTION **



Last packet sent to the server was 16 ms ago.
...全文
99 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
shixitong 2011-09-02
  • 打赏
  • 举报
回复
java.sql.SQLException: Table 's223495.NewsTable' doesn't exist

LMAOhuaNL 2011-09-02
  • 打赏
  • 举报
回复
[Quote=引用 6 楼 bijanen19861113 的回复:]

此用户下的表不存在..
[/Quote]
bijanen19861113 2011-09-02
  • 打赏
  • 举报
回复
此用户下的表不存在..
傻傻的傻傻傻 2011-09-02
  • 打赏
  • 举报
回复
表不存在。是不是表名写错了!?
台城柳月 2011-09-02
  • 打赏
  • 举报
回复
会不会是因为在hibernate配置文件中定义了schema,而你访问使用的用户不是schema定义的用户
langyuziyou12 2011-09-02
  • 打赏
  • 举报
回复
操作不能执行,jdbc链接失败了
paneyjiang 2011-09-02
  • 打赏
  • 举报
回复
表名写 错没,提示找不到's223495.NewsTable' 这个用户下的表呢,所以就会抛sql异常了。

81,092

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧