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

前端 未结 13 1781
孤城傲影
孤城傲影 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:39

    Set property hibernate.proc.param_null_passing=true

    example:

     
        
            
                my.entity.store.package
            
        
        
        
        
        
    
        
            
                
                
                
                
            
        
    
    

提交回复
热议问题