We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03e78c5 commit 3579aa0Copy full SHA for 3579aa0
paoding-rose-jade/src/main/java/net/paoding/rose/jade/statement/UpdateQuerier.java
@@ -102,6 +102,8 @@ private Object executeSingle(StatementRuntime runtime) {
102
return result.floatValue();
103
} else if (returnType == Number.class) {
104
return result;
105
+ } else if (returnType == String.class || returnType == CharSequence.class) {
106
+ return String.valueOf(result);
107
} else {
108
throw new DataRetrievalFailureException(
109
"The generated key is not of a supported numeric type: " + returnType.getName());
0 commit comments