Is it possible to pass a null parameter to a stored procedure in Java JPA 2.1?

前端 未结 13 1712
孤城傲影
孤城傲影 2020-12-08 15:07

Using the new JPA 2.1 stored procedure call, is there any way to pass a null parameter?

Here is an example usage:

StoredProcedureQuery storedProcedur         


        
13条回答
  •  有刺的猬
    2020-12-08 15:53

    add the following property to your config persistance

    hibernate.proc.param_null_passing=true
    

提交回复
热议问题