unable to remove Conditions from SelectQuery object when added automatically using VisitListener in JOOQ

2 views
Skip to first unread message

malles...@gmail.com

unread,
Nov 9, 2017, 8:39:44 AM11/9/17
to jOOQ User Group
One of my table is linked with VisitListener and it added some conditions based on the table i had selectFrom in SelectQuery object.
In one of my scenarios, i don't want the records to be added to the condition.

I cannot  in VisitListenerImpl since it effects when the same table is selected in separate scenarios.
Is there any way to removeConditons already added in SelectQuery object or avoid VisitListener to invoke only when called from specific method.

Lukas Eder

unread,
Nov 9, 2017, 10:05:55 AM11/9/17
to jooq...@googlegroups.com
Hi there,

I'm sorry, but your question isn't really very clear.

- What do you mean by table being linked with VisitListener?
- Where did you add the conditions to?
- What do you mean by records being added to the condition?

Perhaps a minimal, complete, verifiable example in code would make it a bit more clear?

Thanks,
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 jooq-user+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages