Hi Mohit,

(can you please create one thread per question? It will be easier for us to
track discussions and for future visitors to see what's going on)

2014-03-31 23:55 GMT+02:00 Mohit Jaggi <[email protected]>:

> Is this a known bug? PID field has duplicates in this generated code. (and
> getPid() as well)
>

Yes, this is a known issue:
https://github.com/jOOQ/jOOQ/issues/2647

So far, we haven't found a sensible way to circumvent this issue as
duplicating procedure parameter names is not really possible in pgplsql.
It's curious, though, that a built-in function even has duplicate parameter
names.

An easy workaround for this is to exclude code-generation for that
particular function through <excludes/>:
http://www.jooq.org/doc/latest/manual/code-generation/codegen-configuration/

      <!-- All elements that are excluded from your schema (A Java
regular expression.
           Use the pipe to separate several expressions). Excludes match before
           includes -->
      <excludes></excludes>

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