rxjava2-jdbc icon indicating copy to clipboard operation
rxjava2-jdbc copied to clipboard

Callable Statements null support on input parameters

Open garzy opened this issue 3 years ago • 1 comments

How can I insert some null parameter through .input(Object...) method call?

The Workings with nulls section doesn't provide an example with Callable Statements.

I'm trying some approaches but nothing works :(

garzy avatar Oct 13 '21 11:10 garzy

Seems that works if set null values to "NULL" String as input parameter but I'm having this exception:

com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near '@P0'

I don't know the cause of this exception. (I'm using SQLServer)

garzy avatar Oct 13 '21 11:10 garzy