Lukas,
So I poked around some in `VisitContext` and I'm not seeing much that will 
allow me to set or add additional fields and values to an existing insert.
`VisitContext.queryPart` returns a `QueryPart` and in the Idea debugger it 
looks like it has the data I'm looking for, but no public methods I can use 
to manipulate the SQL. Docs say I can safely cast to `QueryPartInternal` 
but that doesn't seem to have any modifying methods either.

Would you be able to point in the right direction? I guess I'm looking to 
do something like: `VisitContext.queryPart().addField(TableField, value)` 
or something similar.

On Thursday, November 5, 2015 at 9:49:43 AM UTC-6, Lukas Eder wrote:
>
> Hi James,
>
> 2015-11-05 16:37 GMT+01:00 <[email protected] <javascript:>>:
>
>> Yeah I think we are wanting to avoid database triggers for right now.
>>
>
> May I ask why? I think they're often shunned for the "wrong" reasons (just 
> like stored procedures)
>  
>
>> I'll take a look at the VisitListener approach. That sounds promising.
>>
>
> Great. If you have time, I'd love to hear feedback about this approach. 
> Perhaps, this is worthy of a small tutorial in the manual or on the jOOQ 
> blog.
>
> Cheers,
> Lukas
>

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