I have a method that stores several values in an Oracle database. The database will allow null values, but when I try to pass "null" in to the method instead of the "int" that it's expecting, I get the following error.
methodName(int, int, int) in pkg cannot be applied to (in, int, <null>)
Is there any way to get around this? I tried to pass a value to the method and then convert that to "null" before updating the db, but it doesn't like that either. That error is:
incompatible types
found : <null>
required: int
Any suggestions?
Thanks in advance,
~lbrechler
methodName(int, int, int) in pkg cannot be applied to (in, int, <null>)
Is there any way to get around this? I tried to pass a value to the method and then convert that to "null" before updating the db, but it doesn't like that either. That error is:
incompatible types
found : <null>
required: int
Any suggestions?
Thanks in advance,
~lbrechler