Array issue
See original GitHub issueThough the issue is closed, still getting the error.
Query:
SELECT * FROM table WHERE attribute in ($1)
Tuple variants:
1.
Tuple tuple = Tuple.tuple(); entities.forEach(e -> tuple.addString(e.getProviderId()));
error: io.vertx.core.impl.NoStackTraceThrowable: Values [5b8d0f4478482d6f05255fad5f22f05a, 5b8553e1a776c5ac0356c0bc6d211b0a, 5b855484ed288888030137c18f6362a5, 5b85545040112d8803a497d83042b9b5, 5b85544c40112d8803a4979acac4148a] cannot be coerced to [String]
Tuple.of(StringArrayHere)
error: io.vertx.core.impl.NoStackTraceThrowable: Values [[Ljava.lang.String;@5df318d1] cannot be coerced to [String]
Tuple.tuple().addStringArray(providerIds)
io.vertx.core.impl.NoStackTraceThrowable: Values [[Ljava.lang.String;@3cd91890] cannot be coerced to [String]
Is the fix coming out on 0.10.3?
Issue Analytics
- State:
- Created 5 years ago
- Comments:22 (11 by maintainers)
Top GitHub Comments
I’ll do a release including this fix soon
Yep it works, thank you very much!