Calling Stored Procedure That Returns A Value
Description: This application is an example of calling a MySQL stored procedure that returns a value (e.g., an Integer
).
Key points:
- rely on
@NamedStoredProcedureQuery
to shape the stored procedure in the entity
- rely on
@Procedure
in repository
If you need a deep dive into the performance recipes exposed in this repository then I am sure that you will love my book "Spring Boot Persistence Best Practices" | If you need a hand of tips and illustrations of 100+ Java persistence performance issues then "Java Persistence Performance Illustrated Guide" is for you. |

|

|