Statement.Builder#bind("some-param").to((Value) null) causes NullPointerException #1679
Labels
api: spanner
Issues related to the googleapis/java-spanner API.
priority: p3
Desirable enhancement or fix. May not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Setting a statement parameter to an untyped null value will cause a
NullPointerException
. Example:Untyped null values are often used in ORMs and is commonly used in the JDBC driver. This will also be necessary for PostgreSQL connections, as the PostgreSQL JDBC driver allows applications to supply untyped null parameter values.
The text was updated successfully, but these errors were encountered: