Thank you very much for your message. I've replied to your duplicate post
here:
https://groups.google.com/d/msg/jooq-user/iVw3wSr3l9U/_0Rv9AuyAgAJ

Cheers,
Lukas

2017-02-23 8:51 GMT+01:00 姜岳松 <[email protected]>:

> I using JOOQ to build sql ,the code can be see below:
>
> DSLContext create= DSL.using(SQLDialect.POSTGRES_9_5);
> List<Field<?>> columns=new ArrayList<>();
> List<Field<?>> values=new ArrayList<>();
> columns.add(DSL.field("id"));
> columns.add(DSL.field("name"));
> columns.add(DSL.field("age"));
> values.add(DSL.field("003"));
> values.add(DSL.field("bob"));
> values.add(DSL.field("24"));
> String sql=create.insertInto(DSL.table("task")).columns(
> columns).values(values).getSQL();
>
> I get the sql is: insert into task set(id,name,age) values(003,bob,24);
>
> But what i want is :  insert into task set(id,name,age)
> values('003','bob','24');
>
> Where the problem is ? thanks for your help!
>
> --
> 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.
>

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