Lukas Eder

Results 1551 comments of Lukas Eder

So, `ResultQuery::coerce`, but with a set of `Converter`... instead of a set of `Field`...?

Well, it won't be this simple: > becomes > > ``` > val mappedQuery = query.convert({ num -> num.toString(16) }) > ``` We'd have to capture the `T1 .. TN`...

I didn't mean this as a reproach. I just don't want to rush anything. It's very difficult to find out what it is that most users *really* want with the...

I just ran into this need in the context of an integration test where I needed to mimick the type `R extends UpdatableRecord` in a `MULTISET` subquery. The workaround was:...

Thanks for your report. I cannot reproduce this according to your description: ```java TimeZone.setDefault(TimeZone.getTimeZone("UTC")); ctx.execute("SET TIME ZONE 'UTC'"); System.out.println(ctx.fetchValue(inline("2024-04-08 23:59:59Z").cast(TIMESTAMPWITHTIMEZONE))); System.out.println(ctx.fetchValue(inline("2024-04-08 23:59:59Z").cast(TIMESTAMPWITHTIMEZONE).cast(LocalDate.class))); ``` This prints: ``` 2024-04-08T23:59:59Z 2024-04-08 ``` The...

> However, feel free to close the issue if it takes too long as I don't know how soon I will get to it... No problem, we can leave it...

Thanks for your message. The flag `` is deprecated and maintained only for Scala 2.x backwards compatibility. We always recommended to turn it off, though, and have the scala 2...

OK, I can see how this error happens. It appears that our own reflection code broke somewhere between Scala 2.11 (I think?) and 2.13. I'm still not sure if this...

Another workaround is to just `toString()` the matches and import them again. But I'm not sure if I understand the connection between your use-case and your suggested solution. Can you...

> Some placeholders should be duplicated, in case there are multiple values stored in the database. Ah, I see. I was thinking of replacing placeholders, not duplicating them. Anyway, this...