The argValue in the doSetValue(...) methods in ArgumentPreparedStatementSetter and ArgumentTypePreparedStatementSetter should be marked as @Nullable.