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

public class PgStatGetActivity
extendsorg.jooq.impl.AbstractRoutine<java.lang.Void> {


 private static final long serialVersionUID = -2107175210;


 /**

 * The parameter <code>pg_catalog.pg_stat_get_activity.pid</code>.

 */

public static final org.jooq.Parameter<java.lang.Integer> PID =
createParameter("pid", org.jooq.impl.SQLDataType.INTEGER);


 /**

 * The parameter <code>pg_catalog.pg_stat_get_activity.datid</code>.

 */

public static final org.jooq.Parameter<java.lang.Long> DATID =
createParameter("datid", org.jooq.impl.SQLDataType.BIGINT);


 /**

 * The parameter <code>pg_catalog.pg_stat_get_activity.pid</code>.

 */

public static final org.jooq.Parameter<java.lang.Integer> PID =
createParameter("pid", org.jooq.impl.SQLDataType.INTEGER);


On Mon, Mar 31, 2014 at 1:51 PM, Mohit Jaggi <[email protected]> wrote:

> I am new to jooq and trying to start with the first step of using the DSL
> to avoid SQL strings in my java code. I used the insertInto() API to create
> an INSERT statement. I want to "cache" the statement but whenever I add a
> values() to it, it adds a new VALUES to the statement instead of replacing
> the existing one. Is there a clear() or reset() function?
>
> Also, doesn't jooq have create table and drop table in its DSL?
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "jOOQ User Group" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/jooq-user/YIGSzwInQkE/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

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