Hello,

The idea behind jOOQ is not to write string-based SQL like with JDBC
directly. The idea is that you embed SQL statements as a set of Java method
calls to the jOOQ API directly in your Java code. In other words, this
isn't a string, but regular Java code. select() is a Java method (on
org.jooq.impl.DSL), just like from(), join(), on(). BOOK is a reference
from a generated class.

I suggest you start with the step by step tutorial:
http://www.jooq.org/doc/latest/manual/getting-started/tutorials/jooq-in-7-steps

I hope this helps,
Lukas

2015-09-09 12:36 GMT+02:00 Sha <[email protected]>:

> Hi ,
> I have a following string of jooq ,
>
> select(BOOK.TITLE, AUTHOR.FIRST_NAME, AUTHOR.LAST_NAME)
>                                         .from(BOOK)
>                                         .join(AUTHOR)
>                                         .on(BOOK.AUTHOR_ID.equal(AUTHOR.ID))
>
> .where(BOOK.PUBLISHED_IN.equal(1948))
>
>  this I need to take from our side , through URI string argument.
> Is there any why directly execute the jooq (above) string  ?
>
>
> Thank you.
> ~Sha
>
> --
> 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