WARN [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] - SQL Error: 0, SQLS
WARN[org.hibernate.engine.jdbc.spi.SqlExceptionHelper]-SQLError:0,SQLState:S10092014-...
WARN [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] - SQL Error: 0, SQLState: S1009
2014-05-15 08:35:29,368 ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] - Connection is read-only. Queries leading to data modification are not allowed
2014-05-15 08:35:36,567 INFO [com.wyb.web.action.site.book.UpdateAction] - 预订系统内容修改:
org.hibernate.exception.GenericJDBCException: could not execute statement
at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:54)
at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:125)
at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:110)
at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:
这个语句是不是有问题:
update
tb_site_book_branch s
SET
s.OPEN=0
WHERE
s.bookId= 291
and s.branchId not in(
3,6
) 展开
2014-05-15 08:35:29,368 ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] - Connection is read-only. Queries leading to data modification are not allowed
2014-05-15 08:35:36,567 INFO [com.wyb.web.action.site.book.UpdateAction] - 预订系统内容修改:
org.hibernate.exception.GenericJDBCException: could not execute statement
at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:54)
at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:125)
at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:110)
at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:
这个语句是不是有问题:
update
tb_site_book_branch s
SET
s.OPEN=0
WHERE
s.bookId= 291
and s.branchId not in(
3,6
) 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询