Thanks. Yes I will use a new thread per question. I have deleted all generated files except those in the "public_" directory which contain my schema. I guess I might need the other files if I use some more features of jooq. All I am doing for now is replacing SQL strings in the code with jooq DSL.
On Mon, Mar 31, 2014 at 11:07 PM, Lukas Eder <[email protected]> wrote: > 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.
