简体   繁体   English

Spring MVC:事务刷新失败

[英]Spring MVC: Transaction failed to flush

I'm try to execute a SELECT query on an entity in the Google App Engine, but I get this error:我正在尝试对 Google App Engine 中的实体执行 SELECT 查询,但出现此错误:

Error Exception: org.springframework.orm.jpa.JpaSystemException: Transaction failed to flush;错误异常:org.springframework.orm.jpa.JpaSystemException:事务刷新失败; nested exception is javax.persistence.PersistenceException: Transaction failed to flush嵌套异常是 javax.persistence.PersistenceException: Transaction failed to flush

What does this mean?这是什么意思?

final Query query = this.entityManager.createQuery("SELECT p FROM SomeEntity p");
list = query.getResultList();

The full stack trace should tell you more where to look.完整的堆栈跟踪应该告诉您更多在哪里查看。 It sounds like it could be a database server-side error.听起来可能是数据库服务器端错误。 Maybe you've run out of space for transaction logs?也许您已经用完了事务日志的空间?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM