Skip to content
Advertisement

Saving new entity with JPARepository throws InvalidDataAccessResourceUsageException: could not extract ResultSet

Currently working on a REST API with Springboot + JPA/Hibernate + Oracle.

I have an entity called Foo linked to a Bar entity with @ManyToOne (Mulitple Foo can have one Bar).

When I send an HTTPS GET to get all Foos, everything works fine. The problem is when I try to send a POST request to create a new Foo. I get the following errors :

JavaScript
JavaScript
JavaScript
JavaScript
JavaScript
JavaScript

Database tables :

JavaScript

I’m new to JPA/Hibernate and I don’t understand why this is not working. I’m at a lost here… Thank you for you help 🙂

Advertisement

Answer

I suppose you didn’t post the full model here? The error suggests that you have some kind of mapping to an object named tips which does not exist. See the error message ORA-06576: not a valid function of procedure name tips

Please check your model again and update the question.

Advertisement