I implemented the VisitListener code (from the blog) pretty much as is (had 
to change the table names and the id field) and have run into a stack over 
flow error because of infinite recursion. Here's the tweak to the code from 
the blog to reproduce it:

public void visitEnd(VisitContext context) {
    System.out.println(context.queryPart());
    pushConditions(context, ACCOUNTS, ACCOUNTS.ID, ids);
    ...
}

All I've done is added a System.out statement. I don't know the underlying 
cause but perhaps may have something to do with the toString() method being 
called. BTW, in my real code, I'm doing a hash table lookup where the 
lookup key is, the value returned by context.queryPart() and run into the 
same issue. The System.out statement is the simplest way to reproduce the 
problem.

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jooq-user/52ead7bc-9698-4c7c-938d-d6c679b7bb22%40googlegroups.com.

Reply via email to