vertx-sql-client
vertx-sql-client copied to clipboard
Coerce row values to string for Row#getString
Fixes a confusing scenario that a user reported here: https://github.com/quarkusio/quarkus/issues/11035
I am not sure this is something we want to do for free
my point is that people should know the type of the row they are retrieving and they should use the correct getter otherwise they should use getValue().toString()
instead
I agree with Julien. The javadoc should be extended to make this clear: #802
getValue().toString()
may cause NPE.
Should we add getValueAsString
that returns null for null and toString() otherwise?