These two sections of the manual will provide you with some feedback:

- http://www.jooq.org/doc/3.1/manual/code-generation/codegen-configuration/
- http://www.jooq.org/doc/3.1/manual/code-generation/codegen-advanced/

In particular:

  <!-- Generate POJOs in addition to Record classes for usage of the
       ResultQuery.fetchInto(Class) API
       Defaults to false -->
  <pojos>false</pojos>



2013/8/26 <[email protected]>

> Magnifique,
>
> and is there a way to generate automaticaly all DTO (Product object) ?
>
> thanks in advance
>
> Le dimanche 25 août 2013 21:58:18 UTC+2, Aurélien Manteaux a écrit :
>
>> Hello,
>>
>> JOOK like in Java Object Oriented Kuerying ? :)
>>
>> You can do
>> List<Product> result = create.select().from(PRODUCTS)**
>> .fetch().into(Product.class);
>>
>> Cheers,
>>
>> Aurélien
>>
>> On Sunday, August 25, 2013 7:17:39 PM UTC+2, [email protected] wrote:
>>>
>>> hello everybody,
>>>
>>> it is possible with JOOK to retrieve directly the dto with a request ? :
>>>
>>> ex :
>>>
>>>
>>> in this exemple i try to retrieve all rows of table product
>>>
>>>
>>> List<Product> result = create.select().from(PRODUCTS)**.fetch();
>>>
>>>  --
> 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.

Reply via email to