You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just ran into an issue trying to call row.get(…, int.class) with the error message saying int is not a supported type. Switching to Integer.class got it working but I wonder whether we should be able to decode primitives OOTB to avoid boxing.
The text was updated successfully, but these errors were encountered:
R2DBC API can return currently only boxed (wrapper) types for primitives. We should have a definition of what happens with fields that are null when asking for a primitive. This ticket touches the spec so I wonder whether we should elevate it to the SPI project to get consistent behavior across driver implementations.
I just ran into an issue trying to call
row.get(…, int.class)
with the error message sayingint
is not a supported type. Switching toInteger.class
got it working but I wonder whether we should be able to decode primitives OOTB to avoid boxing.The text was updated successfully, but these errors were encountered: