I am getting this error when i am trying to do repository.save(obj).
And i could see that my save method is trying to save different object which i am not trying to save .Please help me on this.
Spring boot version : 2.1.3.Release
Hibernate core version : 5.3.7.Final
please find the below log,
“logger” : “org.hibernate.engine.jdbc.spi.SqlExceptionHelper”,
“message” : “Invalid object name ‘SomeObjectName’.”, - Different object
“context” : “default”
“logger” : “org.hibernate.internal.ExceptionMapperStandardImpl”,
“message” : “HHH000346: Error during managed flush [org.hibernate.exception.SQLGrammarException: could not execute statement]”,
“context” : “default”