Suppose I have a stored procedure and jOOQ has generated the class 
MyStoredProcedure from it. The class contains public static final Parameter 
objects representing each parameter of the stored proc. I'd like to be able 
to set the values of the parameters on an instance of MyStoredProcedure 
like so:
Parameter<...> param = MyStoredProcedure.(one of the params);
MyStoredProcedure sp = new MyStoredProcedure();
sp.setParameter(param, value);
sp.execute();

The generated MyStoredProcedure class inherits from AbstractRoutine, which 
has a setValue(Parameter, Object) method that appears to do exactly what I 
want, but it is protected.

Is there another way to achieve this? Or would it be possible to get access 
to the AbstractRoutine.setValue() method in a future release?

Thanks

-- 
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.

Reply via email to