I get this error on my code when I try to execute a stored procedure (Microsoft SqlServer):
"org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is java.lang.NoSuchMethodError: org.hibernate.Session.getFlushMode () Lorg / hibernate / FlushMode;"
The server on which my web application is installed is WildFly 18. Below is a screenshot of the maven dependencies:
Can anyone help me to understand which is the problem? Thanks.