>> For instance, I can see that you're using named parameters, which is a 
>> Spring feature, not a JDBC one. Is the current jOOQ API suited for this 
>> use-case, or is there potential for improvement, such as a 
>> Factory.param(String parameterName) method?
>
> We use Factory.literal method for this in conditions.

That makes sense, of course.
I wonder though, if it might be useful for you to be able to inject
parameters with a method like this:

// Bind to ?
Factory.val(Object value);

// Bind to named parameter. One of these
Factory.param(String parameterName, Object value);
Factory.namedVal(String parameterName, Object value);

And then in the end, similar to retrieving the underlying SQL
String Query.getSQL()

You could retrieve all parameters in the correct order using something like
List<?> Query.getBindValues();

Cheers
Lukas

Reply via email to