简体   繁体   中英

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:

Error Exception: org.springframework.orm.jpa.JpaSystemException: Transaction failed to flush; nested exception is 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?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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