I have met this issue today. If I set a null value the ? Parameter, the stored procedure is not set correctly. The problem seem be the if statement in callable statement. I dont remember the line but the test was: if bind == null or bind.getValue == null the parameter won't set. I tried with eclipse link ( I used JPA 2.1) and there it works. Is there a workaround? |