• 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
  • Bear Bibeault
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Frits Walraven
Bartenders:
  • Carey Brown
  • salvin francis
  • Claude Moore

Result set representing update count of -1 Error  RSS feed

 
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: 1327
3
Java Netbeans IDE Spring
  • 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: 1327
3
Java Netbeans IDE Spring
  • 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?
 
Willie Smits can speak 40 languages. This tiny ad can speak only one:
Create Edit Print & Convert PDF Using Free API with Java
https://coderanch.com/wiki/703735/Create-Convert-PDF-Free-Spire
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!