Hello,
I have the following configuration in my application.properties file:
spring.datasource.driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver
spring.jpa.hibernate.dialect= org.hibernate.dialect.SQLServer2012Dialect
However, when I run a procedure call, JPA uses CALL
instead of EXEC
:
Hibernate: {call SPT_BUSCA_DADOS_VENDEDOR(?)}
Hibernate: {call SPT_LE_HTK_TEMP_PED(?)}
This is causing some problems in procedure calls. is there any way to change the way procedures are called?