• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

Result set representing update count of -1 Error

 
Ranch Hand
Posts: 170
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!

I am using Spring Boot with Hibernate and I am having this error:

 Initializing Spring DispatcherServlet 'dispatcherServlet'
""2019-04-18 17:57:44 - HHH000397: Using ASTQueryTranslatorFactory
""2019-04-18 17:57:45 - HHH000100: Fail-safe cleanup (collections) : org.hibernate.engine.loading.internal.CollectionLoadContext@3be79f33<rs=HikariProxyResultSet@792585095 wrapping Result set representing update count of -1>
""2019-04-18 17:57:45 - HHH000100: Fail-safe cleanup (collections) : org.hibernate.engine.loading.internal.CollectionLoadContext@196926f4<rs=HikariProxyResultSet@1830646155 wrapping Result set representing update count of 2>
""2019-04-18 17:57:45 - HHH000100: Fail-safe cleanup (collections) : org.hibernate.engine.loading.internal.CollectionLoadContext@62c7f48d<rs=HikariProxyResultSet@373978636 wrapping Result set representing update count of 2>



I think is this code. The error is shown when this code is run:




I'm not sure where it is causing the error. I wonder if you could please help me or ask me for more information.

Thanks in advance.
 
Ranch Hand
Posts: 1346
3
Netbeans IDE Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you share the code you are using for running it please, I could replicate the behavior and see where the issue is.
 
Angus Ferguson
Ranch Hand
Posts: 1346
3
Netbeans IDE Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Firstly, it is a Hibernate Error handled by org.hibernate.engine and has nothing to do with Spring Boot.

Are you loading huge amounts of data?

Have you mapped a one-to-many association which has many child entities?
 
If we don't do the shopping, we won't have anything for dinner. And I've invited this tiny ad:
create, convert, edit or print DOC and DOCX in Java
https://products.aspose.com/words/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!