`Type cannot be null` exception when trying to run out Stored Procedure using Spring Data JPA

后端 未结 4 1441
情书的邮戳
情书的邮戳 2021-01-28 18:07

I am trying to invoke a Stored Procedure whose signature looks like the following:

CREATE OR REPLACE PROCEDURE FIND_FIRST_BOOKMARK_GT(bookmark IN NUMBER, cur OUT         


        
4条回答
  •  时光说笑
    2021-01-28 18:50

    Using native Query we can also call store procedure. If you are using MySQL then following will be the systex:

     @Query(nativeQuery = true,value = "call getEmployeeList")
     List getEmployeeList();
    

提交回复
热议问题