This week's giveaway is in the JDBC forum.
We're giving away four copies of Java Database Connections & Transactions (e-book only) and have Marco Behler on-line!
See this thread for details.
Win a copy of Java Database Connections & Transactions (e-book only) this week in the JDBC forum!
  • 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
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

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: 1329
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: 1329
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?
 
He's giving us the slip! Quick! Grab this tiny ad!
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!