Hello Riccardo,

Most manual examples omit execution methods, as there are many use cases
where you don't want to actually execute a jOOQ query right away.

Queries are executed using either of these methods:

Query.execute()
http://www.jooq.org/javadoc/latest/org/jooq/Query.html#execute()

ResultQuery.fetch()
http://www.jooq.org/javadoc/latest/org/jooq/ResultQuery.html#fetch()

This is documented further down in the manual:
http://www.jooq.org/doc/2.6/manual/sql-execution/query-vs-resultquery/

Cheers
Lukas


2013/2/4 <[email protected]>

> Hi all,
> following update example on jOOQ website (
> http://www.jooq.org/doc/2.6/manual/sql-building/sql-statements/update-statement/)
> nothing happens on my db:
>
> Factory create = new Factory(conn, SQLDialect.MYSQL);
>>
> create.update(TABLE)
>>       .set(TABLE.FIELD1, (byte)0)
>>       .where(TABLE.FIELD1.greaterOrEqual((byte)3) );
>>
>
> Could someone help me with this issue?
>
> Best regards,
> Riccardo
>
> --
> 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/groups/opt_out.
>
>
>

-- 
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/groups/opt_out.


  • UPDATE issue riccardo . ruggiero
    • Re: UPDATE issue Lukas Eder

Reply via email to