Yeah, that doesn't make any sense. You cannot call a procedure like that in a SELECT statement in MySQL.
jOOQ doesn't see Routine and Query as the same thing, unlike JDBC, and I think it was a mistake for JDBC to do so. But again, with some insight in your actual use-case (i.e. what is your procedure doing?), this discussion would be more clear to me, I suspect. Thanks, Lukas 2017-11-09 16:39 GMT+01:00 <[email protected]>: > >> This is another thing i tried, but it failed as my "AbstractRoutines" are > actually "insert": > > BatchBindStep step = null; > > for (AbstractRoutine<Void> procedure : procedures) { > step = context.batch (context.select(procedure.asField())); > } > > step.execute(); > > -- > You received this message because you are subscribed to the Google Groups > "jOOQ User Group" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "jOOQ User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
